diff options
author | Zach Berwaldt <zberwaldt@tutamail.com> | 2023-09-26 23:26:39 -0400 |
---|---|---|
committer | Zach Berwaldt <zberwaldt@tutamail.com> | 2023-09-26 23:26:39 -0400 |
commit | f7ccee9be8569eb2efc2319554e49757f550c77f (patch) | |
tree | b6d9ecde2517c662897386157a1571537f50ddd2 /layouts | |
parent | e19ebe26ecd117a77c8fdda2e7667fca42160e1d (diff) |
update archetypes
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 1 | ||||
-rw-r--r-- | layouts/post/single.html | 11 |
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 | ||