mirror of
https://github.com/tildeclub/site.git
synced 2026-06-27 22:19:24 +00:00
normalize wiki names
This commit is contained in:
@@ -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 | " \
|
||||
|
||||
Reference in New Issue
Block a user