mirror of
https://github.com/tildeclub/site.git
synced 2026-07-01 23:39:23 +00:00
stop tracking html build artifacts, add header permalinks
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user