mirror of
https://github.com/tildeclub/site.git
synced 2026-03-10 05:50:17 +00:00
add navbar to wiki
This commit is contained in:
11
header.php
11
header.php
@@ -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
9
nav.html
Normal 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>
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user