From 55ed353216554d6327984fa8f1cf707b70e06ac1 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Tue, 23 Dec 2025 16:34:08 -0330 Subject: move layout from theme to site --- themes/aoidh/layouts/baseof.html | 20 -------------------- themes/aoidh/layouts/home.html | 7 ------- themes/aoidh/layouts/page.html | 10 ---------- themes/aoidh/layouts/section.html | 8 -------- themes/aoidh/layouts/taxonomy.html | 7 ------- themes/aoidh/layouts/term.html | 7 ------- 6 files changed, 59 deletions(-) delete mode 100644 themes/aoidh/layouts/baseof.html delete mode 100644 themes/aoidh/layouts/home.html delete mode 100644 themes/aoidh/layouts/page.html delete mode 100644 themes/aoidh/layouts/section.html delete mode 100644 themes/aoidh/layouts/taxonomy.html delete mode 100644 themes/aoidh/layouts/term.html (limited to 'themes/aoidh') diff --git a/themes/aoidh/layouts/baseof.html b/themes/aoidh/layouts/baseof.html deleted file mode 100644 index dd61d01..0000000 --- a/themes/aoidh/layouts/baseof.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - {{ partial "head.html" . }} - - -
-
- {{ partial "header.html" . }} -
-
- {{ block "main" . }}{{ end }} -
-
-
- {{ partial "footer.html" . }} -
-
- - diff --git a/themes/aoidh/layouts/home.html b/themes/aoidh/layouts/home.html deleted file mode 100644 index 0df6597..0000000 --- a/themes/aoidh/layouts/home.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} - {{ .Content }} - {{ range site.RegularPages }} -

{{ .LinkTitle }}

- {{ .Summary }} - {{ end }} -{{ end }} diff --git a/themes/aoidh/layouts/page.html b/themes/aoidh/layouts/page.html deleted file mode 100644 index 7e286c8..0000000 --- a/themes/aoidh/layouts/page.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} -

{{ .Title }}

- - {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} - - - {{ .Content }} - {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} -{{ end }} diff --git a/themes/aoidh/layouts/section.html b/themes/aoidh/layouts/section.html deleted file mode 100644 index 50fc92d..0000000 --- a/themes/aoidh/layouts/section.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ define "main" }} -

{{ .Title }}

- {{ .Content }} - {{ range .Pages }} -

{{ .LinkTitle }}

- {{ .Summary }} - {{ end }} -{{ end }} diff --git a/themes/aoidh/layouts/taxonomy.html b/themes/aoidh/layouts/taxonomy.html deleted file mode 100644 index c2e7875..0000000 --- a/themes/aoidh/layouts/taxonomy.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} -

{{ .Title }}

- {{ .Content }} - {{ range .Pages }} -

{{ .LinkTitle }}

- {{ end }} -{{ end }} diff --git a/themes/aoidh/layouts/term.html b/themes/aoidh/layouts/term.html deleted file mode 100644 index c2e7875..0000000 --- a/themes/aoidh/layouts/term.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} -

{{ .Title }}

- {{ .Content }} - {{ range .Pages }} -

{{ .LinkTitle }}

- {{ end }} -{{ end }} -- cgit v1.2.3