commit 44a8b57602fbff9c1a01827950ebae5ee8468313
parent ba5fc636c18963630b706276a45da0b044d7de30
Author: Ellenor Bjornsdottir <ellenor@umbrellix.net>
Date: Thu, 8 May 2025 21:25:56 +0000
Merge y.devin.umbrellix.net:ussg into trunk
Diffstat:
4 files changed, 55 insertions(+), 0 deletions(-)
diff --git a/doc/examples/bottomnav.xhtfrag b/doc/examples/bottomnav.xhtfrag
@@ -0,0 +1,3 @@
+<br class="doNotDisplay doNotPrint"></br>
+
+<div style="margin-right: auto;">Powered by lighttpd, UmbrellixSSG, and a certain evil dragon ;)</div>
diff --git a/doc/examples/headers-xht b/doc/examples/headers-xht
@@ -0,0 +1,9 @@
+Template: doc/example/page-xht1.tpl
+X-Site-Title: UmbrellixSSG Test Site
+X-Site-Description: UmbrellixSSG Test Site
+X-Synoptic-Title: UmbrellixSSG Test Site
+Verbatim: doc/example/topnav.htfrag
+Verbatim: doc/example/bottomnav.htfrag
+Plugin: plugins/navbar.tm
+Navbar-Prefix: html/
+Navbar-Source: doc/example/sidenav
diff --git a/doc/examples/page-xht1.tpl b/doc/examples/page-xht1.tpl
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+ <meta charset="UTF-8">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+ <link rel="stylesheet" href="/style.css" type="text/css" media="screen, handheld" title="default">
+ %title
+ %heads
+</head>
+<body>
+<span class="header">
+%0
+<h1><a href="/">
+%xsitetitle
+<span id="headerSubTitle">
+%xsitedescription
+</span>
+</a></h1>
+</span>
+<span class="nav" id="side-bar"><div>
+%navbar
+</div></nav>
+<span class="article">
+%article
+</span>
+<span class="footer">
+%1
+</span>
+</body>
+<!-- 0 - top nav, lowertitle - lower top nav, article - markdown, 1 - footer nav, -->
+</html>
diff --git a/doc/examples/topnav.xhtfrag b/doc/examples/topnav.xhtfrag
@@ -0,0 +1,11 @@
+<span class="nav">
+ <div class="left">
+ <a href="/">home</a> |
+ <a href="/contact.html">contact me</a> |
+ </div>
+
+ <div class="right">
+ <a href="https://umbrellix.net./dnsadm">PowerAdmin DNS administration</a> |
+ <a href="https://chatspeed.net./">Lightning's Space</a>
+ </div>
+</span>