diff options
author | Mohamed <jeblister@gmail.com> | 2022-10-06 12:35:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 12:35:21 +0300 |
commit | 1507abea527aecd896fdc306dfd28ee3e34f01ec (patch) | |
tree | d6ee199a539a34a902f5712fea8fdf19a24f79aa | |
parent | a00af402d938cea56939c4933df6653387214503 (diff) | |
parent | 18c40cdbaaa9f20966cd3808ffb79abf07a3fa0d (diff) |
Fixing blog post
-rw-r--r-- | layouts/blog/single.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 44ccd41..c3d1ab7 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -1,5 +1,6 @@ -{{ 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 +54,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> + |