aboutsummaryrefslogtreecommitdiffstats
path: root/templates/partials
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2026-06-01 22:19:27 +0300
committerAhmed <git@gumx.cc>2026-06-01 22:19:27 +0300
commitae72b8f9976a1c0cca66ff4cb31eadf311c677e7 (patch)
tree532e48d085bd0ea48265f2bd262df8856dd8340f /templates/partials
init: moved to own site
Diffstat (limited to 'templates/partials')
-rw-r--r--templates/partials/footer.html18
-rw-r--r--templates/partials/head.html12
-rw-r--r--templates/partials/header.html6
3 files changed, 36 insertions, 0 deletions
diff --git a/templates/partials/footer.html b/templates/partials/footer.html
new file mode 100644
index 0000000..9f3156b
--- /dev/null
+++ b/templates/partials/footer.html
@@ -0,0 +1,18 @@
+<footer>
+ <hr />
+ <a href="https://webring.gumx.cc/gumx.cc/previous">&larr; previous site</a> /
+ <a href="https://webring.gumx.cc/">webring</a> /
+ <a href="https://webring.gumx.cc/gumx.cc/next">next site &rarr;</a>
+ <br />
+ <a href="https://git.gumx.cc/gumx.cc">source</a> /
+ <a href="https://mail.gumx.cc/lists/gumx.cc">mailing list</a> /
+ <a href="/license">license</a>
+ <p class="network">
+ <a href="https://git.gumx.cc">git</a> /
+ <a href="https://mail.gumx.cc">mail</a> /
+ <a href="https://irc.gumx.cc">irc</a> /
+ <a href="https://vpn.gumx.cc">vpn</a> /
+ <a href="https://pgp.gumx.cc">pgp</a> /
+ <a href="https://wk.fo">wk.fo</a>
+ </p>
+</footer> \ No newline at end of file
diff --git a/templates/partials/head.html b/templates/partials/head.html
new file mode 100644
index 0000000..fe34222
--- /dev/null
+++ b/templates/partials/head.html
@@ -0,0 +1,12 @@
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <meta name="author" content="Ahmed (gumx) Alaa" />
+ <meta name="copyright" content="CC BY-SA 4.0" />
+ {{#META_DATE}}<meta name="date" content="{{META_DATE}}" />{{/META_DATE}}
+ {{#META_DESCRIPTION}}<meta name="description" content="{{META_DESCRIPTION}}" />{{/META_DESCRIPTION}}
+ <link rel="stylesheet" href="/styles/main.css" />
+ {{#HAS_CODE}}<link rel="stylesheet" href="/styles/highlight.min.css" />
+ <script src="/scripts/highlight.min.js"></script>
+ <script>hljs.highlightAll();</script>{{/HAS_CODE}}
+ <link href="/feed.xml" rel="alternate" type="application/rss+xml" title="gumx RSS Feed" />
+ <link href="data:," rel="icon">
diff --git a/templates/partials/header.html b/templates/partials/header.html
new file mode 100644
index 0000000..fb74fca
--- /dev/null
+++ b/templates/partials/header.html
@@ -0,0 +1,6 @@
+ <header>
+ <nav>
+ <strong><a href="/">gumx</a>{{BREADCRUMBS}}</strong>
+ {{#HEADER_EXTRA}}<br /><em>{{HEADER_EXTRA}}</em>{{/HEADER_EXTRA}}
+ </nav>
+ </header>