From 39318169e0b50551db511851829f9337c5fa6313 Mon Sep 17 00:00:00 2001 From: glenda Date: Sun, 15 Nov 2020 15:13:27 +0000 Subject: Import site to git --- lib/404.tpl | 3 +++ lib/default_master.tpl | 26 ++++++++++++++++++++++++++ lib/footer.inc | 7 +++++++ lib/headers.tpl | 29 +++++++++++++++++++++++++++++ lib/top_bar.inc | 15 +++++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 lib/404.tpl create mode 100644 lib/default_master.tpl create mode 100644 lib/footer.inc create mode 100644 lib/headers.tpl create mode 100644 lib/top_bar.inc (limited to 'lib') diff --git a/lib/404.tpl b/lib/404.tpl new file mode 100644 index 0000000..f839439 --- /dev/null +++ b/lib/404.tpl @@ -0,0 +1,3 @@ +

The requested document at '%($base_url$"req_path%)' doesn't exist

+

Or take a look at the sitemap.

+
diff --git a/lib/default_master.tpl b/lib/default_master.tpl new file mode 100644 index 0000000..6742c49 --- /dev/null +++ b/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/lib/footer.inc b/lib/footer.inc new file mode 100644 index 0000000..1eac7d8 --- /dev/null +++ b/lib/footer.inc @@ -0,0 +1,7 @@ +
Powered by werc
+ +
User Login + +
diff --git a/lib/headers.tpl b/lib/headers.tpl new file mode 100644 index 0000000..635f85e --- /dev/null +++ b/lib/headers.tpl @@ -0,0 +1,29 @@ + + + + + %($pageTitle%) + + + +% if(test -f $sitedir/_werc/pub/style.css) +% echo ' ' + + +% # Legacy charset declaration for backards compatibility with non-html5 browsers. + + +% if(! ~ $#meta_description 0) +% echo ' ' +% if(! ~ $#meta_keywords 0) +% echo ' ' + +% h = `{get_lib_file headers.inc} +% if(! ~ $#h 0) +% cat $h + + %($"extraHeaders%) + + + + diff --git a/lib/top_bar.inc b/lib/top_bar.inc new file mode 100644 index 0000000..cbb89b8 --- /dev/null +++ b/lib/top_bar.inc @@ -0,0 +1,15 @@ +
+ gsoc | + doc archive | + software repo | + ninetimes | + harmful | + 9P | + cat-v.org +
+ +
+ site updates | + site map +
+ -- cgit v1.2.3