add navbar to wiki
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Ben Harris 2020-05-06 00:50:17 -04:00
parent c1b8ef873c
commit 9f7c330162
3 changed files with 12 additions and 12 deletions

View File

@ -8,14 +8,5 @@
</head> </head>
<body> <body>
<div id="navbar"> <?php include "nav.html"; ?>
<a href="/">~TILDE.CLUB~</a>
<a href="/">HOME</a>
<a href="/wiki/">WIKI</a>
<a href="/wiki/donate.html">DONATE</a>
<a href="https://web.tilde.chat/?join=club" target="_blank">CHAT</a>
<a href="https://search.tildeverse.org/" target="_blank">SEARCH</a>
<a href="/signup/">SIGN-UP</a>
</div>
<div class="content"> <div class="content">

9
nav.html Normal file
View File

@ -0,0 +1,9 @@
<div id="navbar">
<a href="/">~TILDE.CLUB~</a>
<a href="/">HOME</a>
<a href="/wiki/">WIKI</a>
<a href="/wiki/donate.html">DONATE</a>
<a href="https://web.tilde.chat/?join=club" target="_blank">CHAT</a>
<a href="https://search.tildeverse.org/" target="_blank">SEARCH</a>
<a href="/signup/">SIGN-UP</a>
</div>

View File

@ -14,6 +14,7 @@ index: dep-php index.html
$(info building $@) $(info building $@)
@$(PANDOC) \ @$(PANDOC) \
--from markdown+backtick_code_blocks \ --from markdown+backtick_code_blocks \
--include-before-body=../nav.html \
--template wiki.tmpl \ --template wiki.tmpl \
--lua-filter header-permalinks.lua \ --lua-filter header-permalinks.lua \
--highlight-style=custom.theme \ --highlight-style=custom.theme \
@ -36,8 +37,7 @@ index: dep-php index.html
clean: clean:
$(info removing generated files) $(info removing generated files)
-rm $(DST_HTML_FILES) -rm *.html *.txt
-rm $(DST_TXT_FILES)
dep-pandoc:: dep-pandoc::
ifndef PANDOC ifndef PANDOC