Intial Commit
This commit is contained in:
3
_werc/config
Normal file
3
_werc/config
Normal file
@@ -0,0 +1,3 @@
|
||||
masterSite=bergamotoil.net
|
||||
siteTitle='bergamotoil.net'
|
||||
siteSubTitle='subtitle here'
|
||||
26
_werc/lib/default_master.tpl
Normal file
26
_werc/lib/default_master.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
<header>
|
||||
<nav>
|
||||
% cat `{ get_lib_file top_bar.inc }
|
||||
</nav>
|
||||
<h1><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1>
|
||||
</header>
|
||||
|
||||
% if(! ~ $#handlers_bar_left 0) {
|
||||
<nav id="side-bar">
|
||||
% for(h in $handlers_bar_left) {
|
||||
<div>
|
||||
% run_handler $$h
|
||||
</div>
|
||||
% }
|
||||
</nav>
|
||||
% }
|
||||
|
||||
<article>
|
||||
% run_handlers $handlers_body_head
|
||||
% run_handler $handler_body_main
|
||||
% run_handlers $handlers_body_foot
|
||||
</article>
|
||||
|
||||
<footer>
|
||||
% cat `{ get_lib_file footer.inc }
|
||||
</footer>
|
||||
11
_werc/lib/footer.inc
Normal file
11
_werc/lib/footer.inc
Normal file
@@ -0,0 +1,11 @@
|
||||
<footer>
|
||||
<div><a href="http://werc.cat-v.org/">Powered by werc</a>
|
||||
</footer>
|
||||
|
||||
<style>
|
||||
footer {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
14
_werc/lib/top_bar.inc
Normal file
14
_werc/lib/top_bar.inc
Normal file
@@ -0,0 +1,14 @@
|
||||
<div>
|
||||
<a href="https://git.bergamotoil.net/">git</a>
|
||||
<p style="display:inline"> | </p>
|
||||
<a href="https://files.bergamotoil.net/">filedumps</a>
|
||||
<p style="display:inline"> | </p>
|
||||
<a href="https://test.bergamotoil.net/">testing</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<!--
|
||||
<a href="http://cat-v.org/update_log">site updates</a> |
|
||||
<a href="/sitemap">site map</a>
|
||||
-->
|
||||
</div>
|
||||
11
_werc/pub/style/style.css
Normal file
11
_werc/pub/style/style.css
Normal file
@@ -0,0 +1,11 @@
|
||||
body { display: flex; flex-wrap: wrap; font-family: sans; }
|
||||
header { flex-basis: 100%; flex-shrink: 0; }
|
||||
article { flex-basis: 60%; padding-left: 1em; }
|
||||
footer { flex-basis: 100%; flex-shrink: 0; }
|
||||
header nav { display: flex; justify-content: space-between; }
|
||||
nav a, header a { text-decoration: none ; color: inherit; }
|
||||
header h1 span { margin-left: 1em; font-size: 50%; font-style: italic; }
|
||||
body > nav { flex-basis: content; padding-right: 1vw; min-width: 16em; }
|
||||
nav ul { display: flex; flex-direction: column; list-style-type: none; list-style-position: outside; padding-left: 0; }
|
||||
nav li ul { padding-left: 0.6em }
|
||||
footer { display: flex; justify-content: space-between; }
|
||||
Reference in New Issue
Block a user