stop tracking html build artifacts, add header permalinks

This commit is contained in:
Ben Harris
2019-09-22 19:41:13 -04:00
parent 6fb23fa2f6
commit 25e3ed3757
32 changed files with 15 additions and 1461 deletions

View File

@@ -2,6 +2,13 @@
for page in source/*.md; do
pagename=$(basename $page ".md")
pandoc --template pandoc-template.html -o "$pagename.html" "source/$pagename.md"
printf "building %s wiki article\n" "$pagename"
pandoc \
--template wiki.tmpl \
--lua-filter header-permalinks.lua \
-T "tilde.club wiki | " \
-o "$pagename.html" \
"source/$pagename.md"
done