summaryrefslogtreecommitdiff
path: root/themes/plaintext/layouts/partials
diff options
context:
space:
mode:
authorclaw0ry <me@claw0ry.net>2024-12-11 13:56:52 +0100
committerclaw0ry <me@claw0ry.net>2024-12-11 13:56:52 +0100
commit4719cc03837490ed4bf1b9725d75a686e56e5a6a (patch)
tree769dd3a3a87153df049b3043196bd131495b10ad /themes/plaintext/layouts/partials
fresh start
Diffstat (limited to 'themes/plaintext/layouts/partials')
-rw-r--r--themes/plaintext/layouts/partials/footer.html2
-rw-r--r--themes/plaintext/layouts/partials/head.html9
-rw-r--r--themes/plaintext/layouts/partials/header.html9
3 files changed, 20 insertions, 0 deletions
diff --git a/themes/plaintext/layouts/partials/footer.html b/themes/plaintext/layouts/partials/footer.html
new file mode 100644
index 0000000..ea1ae0b
--- /dev/null
+++ b/themes/plaintext/layouts/partials/footer.html
@@ -0,0 +1,2 @@
+<p>Copyright &copy; {{ now.Year }} - claw0ry.net / <a
+ href="mailto:webmaster@claw0ry.net">&lt;webmaster@claw0ry.net&gt;</a></p>
diff --git a/themes/plaintext/layouts/partials/head.html b/themes/plaintext/layouts/partials/head.html
new file mode 100644
index 0000000..1ba4902
--- /dev/null
+++ b/themes/plaintext/layouts/partials/head.html
@@ -0,0 +1,9 @@
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
+<link rel="stylesheet" href="/style.css">
+<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
+<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
+<link rel="alternate" type="application/rss+xml" href="{{.Site.BaseURL}}/index.xml" title="{{ .Site.Title }}">
+<link rel="me" href="https://bsky.app/profile/claw0ry.net">
+<link rel="me" href="https://github.com/moiaune">
diff --git a/themes/plaintext/layouts/partials/header.html b/themes/plaintext/layouts/partials/header.html
new file mode 100644
index 0000000..b96bd36
--- /dev/null
+++ b/themes/plaintext/layouts/partials/header.html
@@ -0,0 +1,9 @@
+<nav>
+ <p>
+ [<a href="/">blog</a>]
+ [<a href="http://github.com/moiaune">projects</a>]
+ [<a href="http://ipv4.claw0ry.net">ipv4</a>]
+ [<a href="http://ipv6.claw0ry.net">ipv6</a>]
+ [<a href="{{.Site.BaseURL}}index.xml">rss</a>]
+ </p>
+</nav>