Intial Commit

This commit is contained in:
Charlie Root 2025-02-21 15:27:22 -07:00
commit 080ec7c431
7 changed files with 72 additions and 0 deletions

3
_werc/config Normal file
View File

@ -0,0 +1,3 @@
masterSite=bergamotoil.net
siteTitle='bergamotoil.net'
siteSubTitle='subtitle here'

View 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
View 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
View 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
View 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; }

View File

@ -0,0 +1 @@
<h1>does this work?</h1>

6
index.html Normal file
View File

@ -0,0 +1,6 @@
<div>
<h1>Go home!</h1>
<img src="https://static0.gamerantimages.com/wordpress/wp-content/uploads/2023/01/ferris_buellers_day_off_credits.jpg" width="480" height="270">
<p>If you've managed to stumble across this, go away I'm still working on it.</p>
<img src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FXC7O0OdGpTFqU%2Fgiphy.gif&f=1&nofb=1&ipt=d660b94f8f358b8f954b62bf1ef9a7e14751cbc3490301e199d131488cf6c918&ipo=images" width="480" height="270">
</div>