forked from kageru/mdb
just list the posts alphabetical in reverse order because they are ordered the right way by their filename anyways.
This commit is contained in:
parent
30eff46640
commit
810c51faa3
|
@ -27,7 +27,7 @@ add_header() {
|
||||||
}
|
}
|
||||||
|
|
||||||
add_footer() {
|
add_footer() {
|
||||||
html_entry "https://asagi.moe" "before July 2020" "Old site"
|
html_entry "https://asagi.moe" "before July 2020" "Old site" "de/en"
|
||||||
output '</table>'
|
output '</table>'
|
||||||
output_rss '</feed>'
|
output_rss '</feed>'
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ cd /home/lucy/blog-content/
|
||||||
rm -R dist/*
|
rm -R dist/*
|
||||||
rsync --delete -avxt static/ dist/
|
rsync --delete -avxt static/ dist/
|
||||||
add_header
|
add_header
|
||||||
ls -ltu src/posts/*.md | tail -n+1 | while read f; do create_entry $f; done
|
ls -lr src/posts/*.md | tail -n+1 | while read f; do create_entry $f; done
|
||||||
ls -ltu src/*.md | tail -n+1 | while read f; do convert_static $f; done
|
ls -l src/*.md | tail -n+1 | while read f; do convert_static $f; done
|
||||||
add_footer
|
add_footer
|
||||||
pandoc -s --css=/css/sakura-vader.css src/index/index_header.md dist/entry_list.md src/index/after-entry-list.md src/footer/footer.md -o dist/index.html
|
pandoc -s --css=/css/sakura-vader.css src/index/index_header.md dist/entry_list.md src/index/after-entry-list.md src/footer/footer.md -o dist/index.html
|
||||||
|
|
Loading…
Reference in New Issue
Block a user