add styling and use section symbol instead

This commit is contained in:
root 2019-09-22 19:55:57 -04:00
parent 25e3ed3757
commit c074e179aa
3 changed files with 7 additions and 3 deletions

View File

@ -53,6 +53,10 @@ h1 {
animation-iteration-count: infinite;
}
.sourceCode {
color:#06287e;
}
/* Style the navbar */
#navbar {
overflow: hidden;

View File

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

View File

@ -1,6 +1,6 @@
function Header(elem)
table.insert(elem.content, pandoc.Space())
table.insert(elem.content, pandoc.Link("🔗", "#" .. elem.identifier))
table.insert(elem.content, pandoc.Link("§", "#" .. elem.identifier))
return elem
end