From 2ad28cbbfb4287164e7877923291bb18519688fc Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 9 Jan 2026 08:07:03 -0500 Subject: replace repo contents with revamped site --- layouts/baseof.html | 19 +++++++++++++++++++ layouts/home.html | 3 +++ layouts/list.html | 21 +++++++++++++++++++++ layouts/page.html | 11 +++++++++++ layouts/term.html | 7 +++++++ 5 files changed, 61 insertions(+) create mode 100644 layouts/baseof.html create mode 100644 layouts/home.html create mode 100644 layouts/list.html create mode 100644 layouts/page.html create mode 100644 layouts/term.html (limited to 'layouts') diff --git a/layouts/baseof.html b/layouts/baseof.html new file mode 100644 index 0000000..e5fd07d --- /dev/null +++ b/layouts/baseof.html @@ -0,0 +1,19 @@ + + + + {{ partial "head.html" . }} + + +
+
+ {{ partial "header.html" . }} +
+
+ {{ block "main" . }}{{ end }} +
+
+ {{ partial "footer.html" . }} +
+
+ + diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 0000000..e0e8308 --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/layouts/list.html b/layouts/list.html new file mode 100644 index 0000000..cc6c7be --- /dev/null +++ b/layouts/list.html @@ -0,0 +1,21 @@ +{{ define "main" }} +

{{ .Title }}

+ + + + + + + + + {{ range .Pages }} + {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}} + {{- $dateHuman := .Date | time.Format "2006-01-02" -}} + + + + + {{ end }} + +
DateTitle
{{ .LinkTitle }}
+{{ end }} diff --git a/layouts/page.html b/layouts/page.html new file mode 100644 index 0000000..8b8eb16 --- /dev/null +++ b/layouts/page.html @@ -0,0 +1,11 @@ +{{ define "main" }} + {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}} + {{- $dateHuman := .Date | time.Format "2006-01-02" -}} +
+

{{ .Title }}

+ +
+ + {{ .Content }} + {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} +{{ end }} diff --git a/layouts/term.html b/layouts/term.html new file mode 100644 index 0000000..c2e7875 --- /dev/null +++ b/layouts/term.html @@ -0,0 +1,7 @@ +{{ define "main" }} +

{{ .Title }}

+ {{ .Content }} + {{ range .Pages }} +

{{ .LinkTitle }}

+ {{ end }} +{{ end }} -- cgit v1.2.3