From a005163de7e9036bba681575c9c1164e23b96b06 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 6 Mar 2026 09:35:05 -0500 Subject: copy theme from samanthony.xyz --- layouts/_partials/date.html | 3 +++ layouts/_partials/head.html | 6 ++++++ layouts/_partials/header.html | 2 ++ layouts/_partials/nav.html | 14 ++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 layouts/_partials/date.html create mode 100644 layouts/_partials/head.html create mode 100644 layouts/_partials/header.html create mode 100644 layouts/_partials/nav.html (limited to 'layouts') diff --git a/layouts/_partials/date.html b/layouts/_partials/date.html new file mode 100644 index 0000000..39e108c --- /dev/null +++ b/layouts/_partials/date.html @@ -0,0 +1,3 @@ +{{- $machine := . | time.Format "2006-01-02T15:04:05-07:00" -}} +{{- $human := . | time.Format "2006-01-02" -}} + diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html new file mode 100644 index 0000000..2720637 --- /dev/null +++ b/layouts/_partials/head.html @@ -0,0 +1,6 @@ + + +{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} +{{- with resources.Get "aoidh.css" | minify }} + +{{- end }} diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html new file mode 100644 index 0000000..8264d4d --- /dev/null +++ b/layouts/_partials/header.html @@ -0,0 +1,2 @@ +{{ partial "nav.html" . }} +
diff --git a/layouts/_partials/nav.html b/layouts/_partials/nav.html new file mode 100644 index 0000000..81751ef --- /dev/null +++ b/layouts/_partials/nav.html @@ -0,0 +1,14 @@ + -- cgit v1.2.3