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