diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-11-25 11:59:42 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-11-25 11:59:42 +0100 |
commit | aa2b1870d0f1af84171c60df233b9befa8817853 (patch) | |
tree | 9c4676339ea68f28a428eae68bd699ced9f4b882 /layouts/posts/single.html | |
parent | a9738191b8fef15a0fe96af533813a8acfa1055b (diff) |
Cleanup posts rendering
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r-- | layouts/posts/single.html | 16 |
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 |