From 080ec7c431437dcd9742bb8e55eb9df911048b89 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Fri, 21 Feb 2025 15:27:22 -0700 Subject: [PATCH] Intial Commit --- _werc/config | 3 +++ _werc/lib/default_master.tpl | 26 ++++++++++++++++++++++++++ _werc/lib/footer.inc | 11 +++++++++++ _werc/lib/top_bar.inc | 14 ++++++++++++++ _werc/pub/style/style.css | 11 +++++++++++ exampledir/doesthiswork.html | 1 + index.html | 6 ++++++ 7 files changed, 72 insertions(+) create mode 100644 _werc/config create mode 100644 _werc/lib/default_master.tpl create mode 100644 _werc/lib/footer.inc create mode 100644 _werc/lib/top_bar.inc create mode 100644 _werc/pub/style/style.css create mode 100644 exampledir/doesthiswork.html create mode 100644 index.html diff --git a/_werc/config b/_werc/config new file mode 100644 index 0000000..ad1cd9d --- /dev/null +++ b/_werc/config @@ -0,0 +1,3 @@ +masterSite=bergamotoil.net +siteTitle='bergamotoil.net' +siteSubTitle='subtitle here' diff --git a/_werc/lib/default_master.tpl b/_werc/lib/default_master.tpl new file mode 100644 index 0000000..6742c49 --- /dev/null +++ b/_werc/lib/default_master.tpl @@ -0,0 +1,26 @@ +
+ +

%($"siteTitle%) %($"siteSubTitle%)

+
+ +% if(! ~ $#handlers_bar_left 0) { + +% } + +
+% run_handlers $handlers_body_head +% run_handler $handler_body_main +% run_handlers $handlers_body_foot +
+ + diff --git a/_werc/lib/footer.inc b/_werc/lib/footer.inc new file mode 100644 index 0000000..9c756ce --- /dev/null +++ b/_werc/lib/footer.inc @@ -0,0 +1,11 @@ + + + diff --git a/_werc/lib/top_bar.inc b/_werc/lib/top_bar.inc new file mode 100644 index 0000000..82fec2c --- /dev/null +++ b/_werc/lib/top_bar.inc @@ -0,0 +1,14 @@ +
+ git +

|

+ filedumps +

|

+ testing +
+ +
+ +
diff --git a/_werc/pub/style/style.css b/_werc/pub/style/style.css new file mode 100644 index 0000000..91f060e --- /dev/null +++ b/_werc/pub/style/style.css @@ -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; } diff --git a/exampledir/doesthiswork.html b/exampledir/doesthiswork.html new file mode 100644 index 0000000..5423f00 --- /dev/null +++ b/exampledir/doesthiswork.html @@ -0,0 +1 @@ +

does this work?

diff --git a/index.html b/index.html new file mode 100644 index 0000000..1ec34c1 --- /dev/null +++ b/index.html @@ -0,0 +1,6 @@ +
+

Go home!

+ +

If you've managed to stumble across this, go away I'm still working on it.

+ +