diff --git a/blog-refresh.sh b/blog-refresh.sh index bd2035f..a7b5731 100755 --- a/blog-refresh.sh +++ b/blog-refresh.sh @@ -27,7 +27,7 @@ add_header() { } 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 '' output_rss '' } @@ -89,7 +89,7 @@ cd /home/lucy/blog-content/ rm -R dist/* rsync --delete -avxt static/ dist/ add_header -ls -ltu 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 -lr src/posts/*.md | tail -n+1 | while read f; do create_entry $f; done +ls -l src/*.md | tail -n+1 | while read f; do convert_static $f; done 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