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/_default/baseof.html | 9 --------- themes/markskitchen/layouts/_default/list.html | 22 ---------------------- themes/markskitchen/layouts/_default/single.html | 21 --------------------- 3 files changed, 52 deletions(-) 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 (limited to 'themes/markskitchen/layouts/_default') 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 }} -- cgit v1.2.3