normalize wiki names

This commit is contained in:
root
2019-09-22 20:15:31 -04:00
parent c074e179aa
commit 90ffb90619
11 changed files with 7 additions and 38 deletions

View File

@@ -1,10 +1,14 @@
#!/bin/sh
printf "removing previous html build artifacts"
rm *.html
for page in source/*.md; do
pagename=$(basename $page ".md")
printf "building %s wiki article\n" "$pagename"
pandoc \
--toc \
--template wiki.tmpl \
--lua-filter header-permalinks.lua \
-T "tilde.club wiki | " \