ussg

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 5d4592862978532a215725210ec1ac4c9a3f634d
parent 478d0bfe97d2fa80e176a3ef734d28664aa19bcf
Author: Ellenor Bjornsdottir <ellenor@umbrellix.net>
Date:   Mon, 12 Sep 2022 13:59:30 +0000

change the examples

Diffstat:
Adoc/examples/bottomnav.htfrag | 5+++++
Mdoc/examples/headers | 9+++++----
Mdoc/examples/navbar | 3++-
Mdoc/examples/page.tpl | 7+++++--
Adoc/examples/topnav.htfrag | 11+++++++++++
5 files changed, 28 insertions(+), 7 deletions(-)

diff --git a/doc/examples/bottomnav.htfrag b/doc/examples/bottomnav.htfrag @@ -0,0 +1,5 @@ +<br class="doNotDisplay doNotPrint" /> + +<div style="margin-right: auto;">Powered by lighttpd, UmbrellixSSG, and a certain evil dragon ;)</div> + +<!--div><form action="/_search/" method="POST"><input type="text" id="searchtext" name="q"> <input type="submit" value="Search"></form></div--> diff --git a/doc/examples/headers b/doc/examples/headers @@ -1,8 +1,9 @@ -Template: doc/examples/page.tpl +Template: doc/example/page.tpl X-Site-Title: UmbrellixSSG Test Site +X-Site-Description: UmbrellixSSG Test Site X-Synoptic-Title: UmbrellixSSG Test Site -Verbatim: doc/examples/topnav.htfrag -Verbatim: doc/examples/bottomnav.htfrag +Verbatim: doc/example/topnav.htfrag +Verbatim: doc/example/bottomnav.htfrag Plugin: plugins/navbar.tm Navbar-Prefix: html/ -Navbar-Source: doc/examples/navbar +Navbar-Source: doc/example/sidenav diff --git a/doc/examples/navbar b/doc/examples/navbar @@ -1,2 +1,3 @@ /index.html Index -/contact.html Contact me +/directory/index.html Directory +https://example.net./ → Example's Space diff --git a/doc/examples/page.tpl b/doc/examples/page.tpl @@ -11,13 +11,16 @@ <body> <header> %0 -</header> <h1><a href="/"> %xsitetitle <span id="headerSubTitle"> %xsitedescription </span> </a></h1> +</header> +<nav id="side-bar"><div> +%navbar +</div></nav> <article> %article </article> @@ -25,5 +28,5 @@ %1 </footer> </body> -<!-- 0 - top nav, lowertitle - lower top nav, article - markdown, 1 - footer nav --> +<!-- 0 - top nav, lowertitle - lower top nav, article - markdown, 1 - footer nav, --> </html> diff --git a/doc/examples/topnav.htfrag b/doc/examples/topnav.htfrag @@ -0,0 +1,11 @@ +<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> +</nav>