diff --git a/blog-refresh.sh b/blog-refresh.sh index 235f642..8b3d1ae 100755 --- a/blog-refresh.sh +++ b/blog-refresh.sh @@ -15,7 +15,18 @@ output_rss() { } add_header() { - output '

posts

' + output ' ++++ + + + + + + +' output_entrylist "title| date ----|----:" output_rss ' @@ -29,7 +40,8 @@ add_header() { add_footer() { html_entry "https://asagi.moe" "before July 2020" "Old site" - output '
titledate
' + output ' +' output_rss '' } @@ -38,8 +50,8 @@ html_entry() { webpath="$1" time="$2" title="$3" - output "$title" - output "$time" + output "$title" + output "$time" output_entrylist "[$title]($webpath)|$time" } @@ -100,4 +112,4 @@ add_header 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 +pandoc -s --css=/css/sakura-vader.css src/index/index_header.md dist/index-alt.html src/index/after-entry-list.md src/footer/footer.md -o dist/index.html