From 4e965c7d9a66d6a72b24c7b319c10d8006f2026e Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Tue, 19 Jul 2022 21:12:41 -0500 Subject: Initial Commit --- themes/markskitchen/layouts/404.html | 0 themes/markskitchen/layouts/_default/baseof.html | 9 +++++ themes/markskitchen/layouts/_default/list.html | 15 ++++++++ themes/markskitchen/layouts/_default/single.html | 21 +++++++++++ themes/markskitchen/layouts/index.html | 3 ++ themes/markskitchen/layouts/partials/footer.html | 3 ++ themes/markskitchen/layouts/partials/head.html | 48 ++++++++++++++++++++++++ themes/markskitchen/layouts/partials/header.html | 13 +++++++ 8 files changed, 112 insertions(+) create mode 100644 themes/markskitchen/layouts/404.html create mode 100644 themes/markskitchen/layouts/_default/baseof.html create mode 100644 themes/markskitchen/layouts/_default/list.html create mode 100644 themes/markskitchen/layouts/_default/single.html create mode 100644 themes/markskitchen/layouts/index.html create mode 100644 themes/markskitchen/layouts/partials/footer.html create mode 100644 themes/markskitchen/layouts/partials/head.html create 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 new file mode 100644 index 0000000..e69de29 diff --git a/themes/markskitchen/layouts/_default/baseof.html b/themes/markskitchen/layouts/_default/baseof.html new file mode 100644 index 0000000..c4963da --- /dev/null +++ b/themes/markskitchen/layouts/_default/baseof.html @@ -0,0 +1,9 @@ + + + {{- 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 new file mode 100644 index 0000000..9388e7d --- /dev/null +++ b/themes/markskitchen/layouts/_default/list.html @@ -0,0 +1,15 @@ +{{ define "head" }} + +{{ end }} + +{{ define "main" }} +
+ +
+{{ end }} diff --git a/themes/markskitchen/layouts/_default/single.html b/themes/markskitchen/layouts/_default/single.html new file mode 100644 index 0000000..52e9c13 --- /dev/null +++ b/themes/markskitchen/layouts/_default/single.html @@ -0,0 +1,21 @@ +{{ 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/index.html b/themes/markskitchen/layouts/index.html new file mode 100644 index 0000000..422469a --- /dev/null +++ b/themes/markskitchen/layouts/index.html @@ -0,0 +1,3 @@ +{{ define "head" }} + +{{ end }} diff --git a/themes/markskitchen/layouts/partials/footer.html b/themes/markskitchen/layouts/partials/footer.html new file mode 100644 index 0000000..19c1837 --- /dev/null +++ b/themes/markskitchen/layouts/partials/footer.html @@ -0,0 +1,3 @@ + diff --git a/themes/markskitchen/layouts/partials/head.html b/themes/markskitchen/layouts/partials/head.html new file mode 100644 index 0000000..3bd261e --- /dev/null +++ b/themes/markskitchen/layouts/partials/head.html @@ -0,0 +1,48 @@ + + + + + + + + + {{ if .Description }} + + {{ else if and .IsPage .Summary }} + + {{ else }} + + {{ end }} + + + + + + {{ 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 new file mode 100644 index 0000000..97fec62 --- /dev/null +++ b/themes/markskitchen/layouts/partials/header.html @@ -0,0 +1,13 @@ + -- cgit v1.2.3