aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorZach Berwaldt <zberwaldt@tutamail.com>2023-09-26 23:26:39 -0400
committerZach Berwaldt <zberwaldt@tutamail.com>2023-09-26 23:26:39 -0400
commitf7ccee9be8569eb2efc2319554e49757f550c77f (patch)
treeb6d9ecde2517c662897386157a1571537f50ddd2 /layouts
parente19ebe26ecd117a77c8fdda2e7667fca42160e1d (diff)
update archetypes
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html1
-rw-r--r--layouts/post/single.html11
2 files changed, 11 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 306df48..db0c449 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,7 +2,6 @@
2 <article> 2 <article>
3 <section> 3 <section>
4 <h1>{{ .Title }}</h1> 4 <h1>{{ .Title }}</h1>
5 <h6>{{ .Date | time.Format ":date_full" }}</h6>
6 </section> 5 </section>
7 <section> 6 <section>
8 {{- .Content -}} 7 {{- .Content -}}
diff --git a/layouts/post/single.html b/layouts/post/single.html
new file mode 100644
index 0000000..306df48
--- /dev/null
+++ b/layouts/post/single.html
@@ -0,0 +1,11 @@
1{{ define "main" }}
2 <article>
3 <section>
4 <h1>{{ .Title }}</h1>
5 <h6>{{ .Date | time.Format ":date_full" }}</h6>
6 </section>
7 <section>
8 {{- .Content -}}
9 </section>
10 </article>
11{{ end }} \ No newline at end of file