diff options
author | Mathis Joffre <51022808+Joffref@users.noreply.github.com> | 2022-09-26 23:24:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 23:24:28 +0300 |
commit | 13386a345f0ef6ae5a57df53c13558d032c4628d (patch) | |
tree | 1c504caccb458387820956a4dbd4652d9deb68f5 | |
parent | a00af402d938cea56939c4933df6653387214503 (diff) |
Fixing blog post
Closes #38
-rw-r--r-- | layouts/blog/single.html | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 44ccd41..9ad6f5a 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -1,5 +1,4 @@ -{{ define "title"}} {{ .Title}} {{end}} {{ define "header"}} {{ partial "header" -.}} {{end}} {{ define "main"}} +{{ define "title"}} {{ .Title}} {{end}} {{ define "header"}} {{ partial "header" }} {{end}} {{ define "main"}} <div class="push-center" itemscope itemtype="http://schema.org/BlogPosting"> {{ template "_internal/schema.html" . }} <div id="hero"> @@ -53,11 +52,11 @@ <div class=""> {{ partial "post/byauthor" . }} {{ partial "post/related-content" . }} </div> - - {{ if .Site.DisqusShortname }} - <article>{{ template "_internal/disqus.html" . }}</article> - {{ end }} + {{ if .Site.DisqusShortname }} + <article>{{ template "_internal/disqus.html" . }}</article> + {{ end }} + </div> </div> </div> {{ end }} {{ define "footer"}} {{ partial "footer.html" .}} {{ end }} -</div> + |