From 511cbfbafde4ff463751fadf8dd15d3b7eb41cea Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Thu, 24 Oct 2024 08:14:08 -0500 Subject: Refactor theme usage --- layouts/partials/footer.html | 3 +++ layouts/partials/head.html | 45 ++++++++++++++++++++++++++++++++++++++++++++ layouts/partials/header.html | 13 +++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html (limited to 'layouts/partials') diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..ecf9420 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,3 @@ + diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..29e9f49 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + {{ if .Keywords }} + + {{ end }} + + + + + + {{ range .AlternativeOutputFormats -}} + {{ printf ` + ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + + + + + {{ template "_internal/schema.html" . }} + + + + + + {{ if .IsHome }} + {{ .Site.Title }} + {{ else }} + {{ .Title }} - {{ .Site.Title }} + {{ end }} + + {{ block "head" . }}{{ end }} + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..97fec62 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,13 @@ + -- cgit v1.2.3