aboutsummaryrefslogtreecommitdiffstats
path: root/templates
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
init: moved to own site
Diffstat (limited to 'templates')
-rw-r--r--templates/archive.html12
-rw-r--r--templates/base.html12
-rw-r--r--templates/blog.html12
-rw-r--r--templates/code.html12
-rw-r--r--templates/garden.html12
-rw-r--r--templates/home.html12
-rw-r--r--templates/partials/footer.html18
-rw-r--r--templates/partials/head.html12
-rw-r--r--templates/partials/header.html6
-rw-r--r--templates/project.html17
-rw-r--r--templates/recipe.html12
-rw-r--r--templates/slides.html31
-rw-r--r--templates/talk.html12
13 files changed, 180 insertions, 0 deletions
diff --git a/templates/archive.html b/templates/archive.html
new file mode 100644
index 0000000..2fa3cb2
--- /dev/null
+++ b/templates/archive.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ {{> head.html}}
+ <title>gumx: {{ARCHIVE_TITLE}}</title>
+ </head>
+ <body>
+ {{> header.html}}
+ <main>{{{CONTENT}}}</main>
+ {{> footer.html}}
+ </body>
+</html>
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..0ac1173
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="{{LANG}}">
+ <head>
+ {{> head.html}}
+ <title>gumx{{#PAGE_TITLE}}: {{PAGE_TITLE}}{{/PAGE_TITLE}}</title>
+ </head>
+ <body>
+ {{> header.html}}
+ <main{{#DIR}} dir="{{DIR}}"{{/DIR}}>{{{CONTENT}}}</main>
+ {{> footer.html}}
+ </body>
+</html>
diff --git a/templates/blog.html b/templates/blog.html
new file mode 100644
index 0000000..b904dbe
--- /dev/null
+++ b/templates/blog.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="{{LANG}}">
+ <head>
+ {{> head.html}}
+ <title>gumx{{#PAGE_TITLE}}: {{PAGE_TITLE}}{{/PAGE_TITLE}}</title>
+ </head>
+ <body{{#DIR}} dir="{{DIR}}"{{/DIR}}>
+ {{> header.html}}
+ <main>{{{CONTENT}}}</main>
+ {{> footer.html}}
+ </body>
+</html>
diff --git a/templates/code.html b/templates/code.html
new file mode 100644
index 0000000..b904dbe
--- /dev/null
+++ b/templates/code.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="{{LANG}}">
+ <head>
+ {{> head.html}}
+ <title>gumx{{#PAGE_TITLE}}: {{PAGE_TITLE}}{{/PAGE_TITLE}}</title>
+ </head>
+ <body{{#DIR}} dir="{{DIR}}"{{/DIR}}>
+ {{> header.html}}
+ <main>{{{CONTENT}}}</main>
+ {{> footer.html}}
+ </body>
+</html>
diff --git a/templates/garden.html b/templates/garden.html
new file mode 100644
index 0000000..b904dbe
--- /dev/null
+++ b/templates/garden.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="{{LANG}}">
+ <head>
+ {{> head.html}}
+ <title>gumx{{#PAGE_TITLE}}: {{PAGE_TITLE}}{{/PAGE_TITLE}}</title>
+ </head>
+ <body{{#DIR}} dir="{{DIR}}"{{/DIR}}>
+ {{> header.html}}
+ <main>{{{CONTENT}}}</main>
+ {{> footer.html}}
+ </body>
+</html>
diff --git a/templates/home.html b/templates/home.html
new file mode 100644
index 0000000..c28bb89
--- /dev/null
+++ b/templates/home.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ {{> head.html}}
+ <title>gumx</title>
+ </head>
+ <body>
+ {{> header.html}}
+ <main>{{{CONTENT}}}</main>
+ {{> footer.html}}
+ </body>
+</html>
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>
diff --git a/templates/project.html b/templates/project.html
new file mode 100644
index 0000000..f0e9554
--- /dev/null
+++ b/templates/project.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="{{LANG}}">
+ <head>
+ {{> head.html}}
+ <title>gumx{{#PAGE_TITLE}}: {{PAGE_TITLE}}{{/PAGE_TITLE}}</title>
+ </head>
+ <body{{#DIR}} dir="{{DIR}}"{{/DIR}}>
+ {{> header.html}}
+ <main>
+ {{{CONTENT}}}
+ {{#PROJECT_URL}}<p><strong>URL:</strong> <a href="{{PROJECT_URL}}">{{PROJECT_URL}}</a></p>{{/PROJECT_URL}}
+ {{#PROJECT_DEMO}}<p><strong>Demo:</strong> <a href="{{PROJECT_DEMO}}">{{PROJECT_DEMO}}</a></p>{{/PROJECT_DEMO}}
+ {{#PROJECT_SOURCES}}<p><strong>Sources:</strong> {{{PROJECT_SOURCES}}}</p>{{/PROJECT_SOURCES}}
+ </main>
+ {{> footer.html}}
+ </body>
+</html>
diff --git a/templates/recipe.html b/templates/recipe.html
new file mode 100644
index 0000000..b904dbe
--- /dev/null
+++ b/templates/recipe.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="{{LANG}}">
+ <head>
+ {{> head.html}}
+ <title>gumx{{#PAGE_TITLE}}: {{PAGE_TITLE}}{{/PAGE_TITLE}}</title>
+ </head>
+ <body{{#DIR}} dir="{{DIR}}"{{/DIR}}>
+ {{> header.html}}
+ <main>{{{CONTENT}}}</main>
+ {{> footer.html}}
+ </body>
+</html>
diff --git a/templates/slides.html b/templates/slides.html
new file mode 100644
index 0000000..a553a73
--- /dev/null
+++ b/templates/slides.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <meta name="author" content="Ahmed (gumx) Alaa" />
+ <title>{{TITLE}}</title>
+ <link rel="stylesheet" href="/styles/reveal.css" />
+ <link rel="stylesheet" href="/styles/reset.css" />
+ <link rel="stylesheet" href="/styles/{{THEME}}.css" />
+ <link rel="stylesheet" href="/styles/monokai.css" />
+ <link href="data:," rel="icon">
+ </head>
+ <body>
+ <div class="reveal">
+ <div class="slides">
+ {{{SLIDES_CONTENT}}}
+ </div>
+ </div>
+ <script src="/scripts/reveal.js"></script>
+ <script src="/scripts/markdown.js"></script>
+ <script src="/scripts/notes.js"></script>
+ <script src="/scripts/highlight.js"></script>
+ <script>
+ Reveal.initialize({
+ hash: true,
+ plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
+ });
+ </script>
+ </body>
+</html>
diff --git a/templates/talk.html b/templates/talk.html
new file mode 100644
index 0000000..b904dbe
--- /dev/null
+++ b/templates/talk.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="{{LANG}}">
+ <head>
+ {{> head.html}}
+ <title>gumx{{#PAGE_TITLE}}: {{PAGE_TITLE}}{{/PAGE_TITLE}}</title>
+ </head>
+ <body{{#DIR}} dir="{{DIR}}"{{/DIR}}>
+ {{> header.html}}
+ <main>{{{CONTENT}}}</main>
+ {{> footer.html}}
+ </body>
+</html>