aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts/single.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-25 11:59:42 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-25 11:59:42 +0100
commitaa2b1870d0f1af84171c60df233b9befa8817853 (patch)
tree9c4676339ea68f28a428eae68bd699ced9f4b882 /layouts/posts/single.html
parenta9738191b8fef15a0fe96af533813a8acfa1055b (diff)
Cleanup posts rendering
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r--layouts/posts/single.html16
1 files changed, 7 insertions, 9 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index f31b1a9..9081faa 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -1,11 +1,9 @@
{{ define "main" }}
-<section>
- <header>
- <h1>{{ .Title }}</h1>
- <h5>{{ .Date.Format "January 2, 2006" }}</h5>
- </header>
- <article class="markdown">
- {{- .Content -}}
- </article>
-</section>
+<header>
+ <h1>{{ .Title }}</h1>
+ <h5>{{ .Date.Format "January 2, 2006" }}</h5>
+</header>
+<article class="markdown">
+ {{- .Content -}}
+</article>
{{ end }} \ No newline at end of file