diff --git a/blog-refresh.sh b/blog-refresh.sh index 8b3d1ae..2ac8e8a 100755 --- a/blog-refresh.sh +++ b/blog-refresh.sh @@ -3,11 +3,7 @@ blog_domain='https://lucy.moe/' output() { - echo "$1" >> dist/index-alt.html -} - -output_entrylist() { - echo "$1" >> dist/entry_list.md + echo "$1" >> dist/posts-table.html } output_rss() { @@ -27,8 +23,6 @@ add_header() { ' - output_entrylist "title| date -----|----:" output_rss ' Lucy @@ -52,7 +46,6 @@ html_entry() { title="$3" output "$title" output "$time" - output_entrylist "[$title]($webpath)|$time" } rss_entry() { @@ -112,4 +105,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/index-alt.html 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/posts-table.html src/index/after-entry-list.md src/footer/footer.md -o dist/index.html