tweak: Make top header a site-independent setting

This commit is contained in:
NunoSempere 2022-03-13 03:44:10 +00:00
parent ae14bd3fbb
commit 72f154a8d6
3 changed files with 29 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<header> <header>
<nav> <nav>
% cat `{ get_lib_file top_bar.inc } % cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc
</nav> </nav>
<h1><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1> <h1><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1>
</header> </header>

View File

@ -0,0 +1,5 @@
<br class="doNotDisplay doNotPrint" />
<div style="margin-right: auto;"><a href="http://werc.cat-v.org">Powered by werc</a></div>
<div><form action="/_search/" method="POST"><input type="text" id="searchtext" name="q"> <input type="submit" value="Search"></form></div>

View File

@ -0,0 +1,23 @@
<div class="left">
<a href="http://quotes.cat-v.org">quotes</a> |
<a href="http://doc.cat-v.org">docs</a> |
<a href="http://repo.cat-v.org">repo</a> |
<a href="http://go-lang.cat-v.org">golang</a> |
<a href="http://sam.cat-v.org">sam</a> |
<a href="http://man.cat-v.org">man</a> |
<a href="http://acme.cat-v.org">acme</a> |
<a href="http://glenda.cat-v.org">Glenda</a> |
<a href="http://ninetimes.cat-v.org">9times</a> |
<a href="http://harmful.cat-v.org">harmful</a> |
<a href="http://9p.cat-v.org/">9P</a> |
<a href="http://cat-v.org">cat-v.org</a>
</div>
<div class="right">
<span class="doNotDisplay">Related sites:</span>
| <a href="http://cat-v.org/update_log">site updates</a>
| <a href="/sitemap">site map</a> |
</div>