remove generation of markdown list for blog posts as it's not used anymore

This commit is contained in:
Kosaki 2020-07-18 23:25:45 +02:00
parent afe2299557
commit ab3b9a2f19

View File

@ -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() {
</tr>
</thead>
<tbody>'
output_entrylist "title| date
----|----:"
output_rss '<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<author><name>Lucy</name></author>
@ -52,7 +46,6 @@ html_entry() {
title="$3"
output "<td><a href=\"$webpath\">$title</a></td>"
output "<td style=\"text-align: right\">$time</td></tr>"
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