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 --- themes/markskitchen/layouts/404.html | 0 themes/markskitchen/layouts/_default/baseof.html | 9 ----- themes/markskitchen/layouts/_default/list.html | 22 ------------ themes/markskitchen/layouts/_default/single.html | 21 ----------- themes/markskitchen/layouts/partials/footer.html | 3 -- themes/markskitchen/layouts/partials/head.html | 45 ------------------------ themes/markskitchen/layouts/partials/header.html | 13 ------- 7 files changed, 113 deletions(-) delete mode 100644 themes/markskitchen/layouts/404.html delete mode 100644 themes/markskitchen/layouts/_default/baseof.html delete mode 100644 themes/markskitchen/layouts/_default/list.html delete mode 100644 themes/markskitchen/layouts/_default/single.html delete mode 100644 themes/markskitchen/layouts/partials/footer.html delete mode 100644 themes/markskitchen/layouts/partials/head.html delete mode 100644 themes/markskitchen/layouts/partials/header.html (limited to 'themes/markskitchen/layouts') diff --git a/themes/markskitchen/layouts/404.html b/themes/markskitchen/layouts/404.html deleted file mode 100644 index e69de29..0000000 diff --git a/themes/markskitchen/layouts/_default/baseof.html b/themes/markskitchen/layouts/_default/baseof.html deleted file mode 100644 index 5dc4b24..0000000 --- a/themes/markskitchen/layouts/_default/baseof.html +++ /dev/null @@ -1,9 +0,0 @@ - - - {{- partial "head.html" . -}} - - {{- partial "header.html" . -}} - {{- block "main" . }}{{- end }} - {{- partial "footer.html" . -}} - - diff --git a/themes/markskitchen/layouts/_default/list.html b/themes/markskitchen/layouts/_default/list.html deleted file mode 100644 index 45c8631..0000000 --- a/themes/markskitchen/layouts/_default/list.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ define "head" }} - -{{ end }} - -{{ define "main" }} -{{ if .Content }} -
-
- {{ .Content }} -
-{{ else }} -
- -{{ end}} -
-{{ end }} diff --git a/themes/markskitchen/layouts/_default/single.html b/themes/markskitchen/layouts/_default/single.html deleted file mode 100644 index 52e9c13..0000000 --- a/themes/markskitchen/layouts/_default/single.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ define "head" }} - -{{ end }} - -{{ define "main" }} -
-

{{ .Title }}

-
{{ .PublishDate.Format "January 2, 2006"}}
-
- {{ .Content }} -
- {{ if ne .Params.tags nil }} -
- Keywords: - {{ range .Params.tags }} - #{{ . }} - {{ end }} -
- {{ end }} -
-{{ end }} diff --git a/themes/markskitchen/layouts/partials/footer.html b/themes/markskitchen/layouts/partials/footer.html deleted file mode 100644 index ecf9420..0000000 --- a/themes/markskitchen/layouts/partials/footer.html +++ /dev/null @@ -1,3 +0,0 @@ -
-
Mark Powers <> © 2023
-
diff --git a/themes/markskitchen/layouts/partials/head.html b/themes/markskitchen/layouts/partials/head.html deleted file mode 100644 index 29e9f49..0000000 --- a/themes/markskitchen/layouts/partials/head.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - {{ 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/themes/markskitchen/layouts/partials/header.html b/themes/markskitchen/layouts/partials/header.html deleted file mode 100644 index 97fec62..0000000 --- a/themes/markskitchen/layouts/partials/header.html +++ /dev/null @@ -1,13 +0,0 @@ - -- cgit v1.2.3