summaryrefslogtreecommitdiffstats
path: root/themes/aoidh
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-12-23 16:34:08 -0330
committerSam Anthony <sam@samanthony.xyz>2025-12-23 16:34:08 -0330
commit55ed353216554d6327984fa8f1cf707b70e06ac1 (patch)
tree44fe27565920f4876f6fcf2dafd94ae143e2709a /themes/aoidh
parent723c98c1d7ae8d74840c5fa30bd2e38256e17332 (diff)
downloadsamanthony.xyz-55ed353216554d6327984fa8f1cf707b70e06ac1.zip
move layout from theme to site
Diffstat (limited to 'themes/aoidh')
-rw-r--r--themes/aoidh/layouts/baseof.html20
-rw-r--r--themes/aoidh/layouts/home.html7
-rw-r--r--themes/aoidh/layouts/page.html10
-rw-r--r--themes/aoidh/layouts/section.html8
-rw-r--r--themes/aoidh/layouts/taxonomy.html7
-rw-r--r--themes/aoidh/layouts/term.html7
6 files changed, 0 insertions, 59 deletions
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 @@
-<!DOCTYPE html>
-<html lang="{{ site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
-<head>
- {{ partial "head.html" . }}
-</head>
-<body>
- <div class="content">
- <header>
- {{ partial "header.html" . }}
- </header>
- <main>
- {{ block "main" . }}{{ end }}
- </main>
- <hr>
- <footer>
- {{ partial "footer.html" . }}
- </footer>
- </div>
-</body>
-</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 }}
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ .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" }}
- <h1>{{ .Title }}</h1>
-
- {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
- {{ $dateHuman := .Date | time.Format ":date_long" }}
- <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
-
- {{ .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" }}
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- {{ range .Pages }}
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ .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" }}
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- {{ range .Pages }}
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ 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" }}
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- {{ range .Pages }}
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ end }}
-{{ end }}