From 650aef75480b773661e53a751337abef3b2abd47 Mon Sep 17 00:00:00 2001 From: Joseph Elliott Hand Date: Sun, 19 Jul 2026 21:46:16 -1000 Subject: Initial commit Signed-off-by: Joseph Elliott Hand --- layouts/_partials/footer.html | 11 +++++++++++ layouts/_partials/head.html | 9 +++++++++ layouts/_partials/header.html | 7 +++++++ layouts/_shortcodes/email.html | 1 + layouts/_shortcodes/marginnote.html | 1 + layouts/baseof.html | 13 +++++++++++++ layouts/blog/page.html | 5 +++++ layouts/blog/section.html | 10 ++++++++++ layouts/home.html | 3 +++ 9 files changed, 60 insertions(+) create mode 100644 layouts/_partials/footer.html create mode 100644 layouts/_partials/head.html create mode 100644 layouts/_partials/header.html create mode 100644 layouts/_shortcodes/email.html create mode 100644 layouts/_shortcodes/marginnote.html create mode 100644 layouts/baseof.html create mode 100644 layouts/blog/page.html create mode 100644 layouts/blog/section.html create mode 100644 layouts/home.html (limited to 'layouts') diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html new file mode 100644 index 0000000..cdda1ac --- /dev/null +++ b/layouts/_partials/footer.html @@ -0,0 +1,11 @@ +
+
+ +

Back to top.

+ +

This website was built using Hugo and a custom minimal theme.

+ +

This website contains no JavaScript.

+ +

This work is licensed under CC BY-SA 4.0

+
diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html new file mode 100644 index 0000000..54d333a --- /dev/null +++ b/layouts/_partials/head.html @@ -0,0 +1,9 @@ + + {{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }} + + + + + + + diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html new file mode 100644 index 0000000..762a4bc --- /dev/null +++ b/layouts/_partials/header.html @@ -0,0 +1,7 @@ +
+ {{ .Site.Title }} +
+ {{ range .Site.Menus.nav }} + {{ .Name }}
+ {{ end }} +
diff --git a/layouts/_shortcodes/email.html b/layouts/_shortcodes/email.html new file mode 100644 index 0000000..7363f60 --- /dev/null +++ b/layouts/_shortcodes/email.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/layouts/_shortcodes/marginnote.html b/layouts/_shortcodes/marginnote.html new file mode 100644 index 0000000..5a3defc --- /dev/null +++ b/layouts/_shortcodes/marginnote.html @@ -0,0 +1 @@ +{{ .Inner | .Page.RenderString }} diff --git a/layouts/baseof.html b/layouts/baseof.html new file mode 100644 index 0000000..281a59c --- /dev/null +++ b/layouts/baseof.html @@ -0,0 +1,13 @@ + + + +{{ partial "head.html" . }} +{{ partial "header.html" . }} +
+{{ block "main" . -}} +{{- .Content -}} +{{ end }} +{{ partial "footer.html" . }} +
+ + diff --git a/layouts/blog/page.html b/layouts/blog/page.html new file mode 100644 index 0000000..67e7901 --- /dev/null +++ b/layouts/blog/page.html @@ -0,0 +1,5 @@ +{{ define "main" }} +

{{ .Title }}

+

{{ .Date.Format "Jan 2, 2006" }} – {{ .WordCount }} words, ~{{ .ReadingTime }} minutes

+{{ .Content }} +{{ end }} diff --git a/layouts/blog/section.html b/layouts/blog/section.html new file mode 100644 index 0000000..4bbfd38 --- /dev/null +++ b/layouts/blog/section.html @@ -0,0 +1,10 @@ +{{ define "main" }} +

{{ .Title }}

+{{ .Content }} + +{{ end }} diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 0000000..9983b08 --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,3 @@ +{{ define "main" }} +{{ .Content }} +{{ end }} -- cgit v1.2.3