aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
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