From 7b2b1f6b837dbca3dd08cb89836cb1ae098c2bd8 Mon Sep 17 00:00:00 2001 From: Christian Hodgden Date: Tue, 3 Feb 2026 16:25:44 -0600 Subject: Initial Commit. Yay --- layouts/_partials/list-pages.html | 16 +++++++++ layouts/_partials/list-terms.html | 5 +++ layouts/baseof.html | 72 +++++++++++++++++++++++++++++++++++++++ layouts/list.html | 12 +++++++ layouts/single.html | 11 ++++++ layouts/taxonomy.html | 8 +++++ layouts/term.html | 8 +++++ 7 files changed, 132 insertions(+) create mode 100644 layouts/_partials/list-pages.html create mode 100644 layouts/_partials/list-terms.html create mode 100644 layouts/baseof.html create mode 100644 layouts/list.html create mode 100644 layouts/single.html create mode 100644 layouts/taxonomy.html create mode 100644 layouts/term.html (limited to 'layouts') diff --git a/layouts/_partials/list-pages.html b/layouts/_partials/list-pages.html new file mode 100644 index 0000000..6ad1411 --- /dev/null +++ b/layouts/_partials/list-pages.html @@ -0,0 +1,16 @@ + + diff --git a/layouts/_partials/list-terms.html b/layouts/_partials/list-terms.html new file mode 100644 index 0000000..10bc437 --- /dev/null +++ b/layouts/_partials/list-terms.html @@ -0,0 +1,5 @@ + diff --git a/layouts/baseof.html b/layouts/baseof.html new file mode 100644 index 0000000..fb923a5 --- /dev/null +++ b/layouts/baseof.html @@ -0,0 +1,72 @@ + + + + + {{ .Page.Title }} + + + {{ if isset .Site.Params "favicons" }} + {{ $fileDict := dict + ".svg" "svg+xml" + ".png" "png" + ".ico" "x-icon" + }} + {{ range .Site.Params.favicons }} + + {{ end }} + {{ end }} + {{ if isset .Params "tags" }} + + {{ end }} + {{ if isset .Params "htmlhead" }} + {{ range .Params.htmlHead }} + {{ . | safeHTML }} + {{ end }} + {{ end }} + + + +
+ Dark Mode +
+ {{ block "main" . }} + {{ end }} + {{ if isset .Params "tags" }} + + {{ end }} + + + {{ if isset .Params "htmlfoot" }} + {{ range .Params.htmlFoot }} + {{ . | safeHTML }} + {{ end }} + {{ end }} + + + diff --git a/layouts/list.html b/layouts/list.html new file mode 100644 index 0000000..40a2671 --- /dev/null +++ b/layouts/list.html @@ -0,0 +1,12 @@ + +{{ define "main" }} + {{ if isset .Params "title" }} +

{{ .Title }}

+ {{ else }} +

{{ .Section | title }}

+ {{ end }} +
+ {{ .Content }} + {{ partial "list-pages.html" . }} +{{ end }} + diff --git a/layouts/single.html b/layouts/single.html new file mode 100644 index 0000000..d1cfcbe --- /dev/null +++ b/layouts/single.html @@ -0,0 +1,11 @@ + +{{ define "main" }} + + {{ if .Title }} +

{{ .Title }}

+ {{ end }} +
+ {{ .Content }} + +{{ end }} + diff --git a/layouts/taxonomy.html b/layouts/taxonomy.html new file mode 100644 index 0000000..a284e36 --- /dev/null +++ b/layouts/taxonomy.html @@ -0,0 +1,8 @@ + +{{ define "main" }} +

{{ .Data.Plural | title }}

+
+ {{ .Content }} + {{ partial "list-terms.html" . }} +{{ end }} + diff --git a/layouts/term.html b/layouts/term.html new file mode 100644 index 0000000..0e399fa --- /dev/null +++ b/layouts/term.html @@ -0,0 +1,8 @@ + +{{ define "main" }} +

{{ .Data.Term | title }}

+
+ {{ .Content }} + {{ partial "list-pages.html" . }} +{{ end }} + -- cgit v1.2.3