mirror of https://github.com/tildeclub/site
add styling and use section symbol instead
This commit is contained in:
parent
25e3ed3757
commit
c074e179aa
|
@ -53,6 +53,10 @@ h1 {
|
|||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
.sourceCode {
|
||||
color:#06287e;
|
||||
}
|
||||
|
||||
/* Style the navbar */
|
||||
#navbar {
|
||||
overflow: hidden;
|
||||
|
|
|
@ -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 | " \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue