tweak: Make top header a site-independent setting
This commit is contained in:
parent
ae14bd3fbb
commit
72f154a8d6
|
@ -1,6 +1,6 @@
|
|||
<header>
|
||||
<nav>
|
||||
% cat `{ get_lib_file top_bar.inc }
|
||||
% cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc
|
||||
</nav>
|
||||
<h1><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1>
|
||||
</header>
|
||||
|
|
5
sites/tst.cat-v.org/_werc/lib/footer.inc
Executable file
5
sites/tst.cat-v.org/_werc/lib/footer.inc
Executable 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>
|
23
sites/tst.cat-v.org/_werc/lib/top_bar.inc
Executable file
23
sites/tst.cat-v.org/_werc/lib/top_bar.inc
Executable 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>
|
||||
|
Loading…
Reference in New Issue
Block a user