summaryrefslogtreecommitdiff
path: root/themes/markskitchen/layouts/_default/list.html
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2022-08-03 21:28:39 -0500
committerMark Powers <mark@marks.kitchen>2022-08-03 21:28:39 -0500
commit648a67b056df898bfdd10033ce782aa121910a7c (patch)
tree293aca76fdbc3e3ac42a4300c577c7ba27af3662 /themes/markskitchen/layouts/_default/list.html
parent4e965c7d9a66d6a72b24c7b319c10d8006f2026e (diff)
Fix theme and content generation
Diffstat (limited to 'themes/markskitchen/layouts/_default/list.html')
-rw-r--r--themes/markskitchen/layouts/_default/list.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/markskitchen/layouts/_default/list.html b/themes/markskitchen/layouts/_default/list.html
index 9388e7d..5c745d6 100644
--- a/themes/markskitchen/layouts/_default/list.html
+++ b/themes/markskitchen/layouts/_default/list.html
@@ -3,6 +3,12 @@
{{ end }}
{{ define "main" }}
+{{ if .Content }}
+<main id="main" class="post">
+ <article class="content">
+ {{ .Content }}
+ </article>
+{{ else }}
<main id="main">
<ul>
{{ range .Pages }}
@@ -11,5 +17,6 @@
</li>
{{ end }}
</ul>
+{{ end}}
</main>
{{ end }}