Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/calintat/minimal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalin Tataru <calintat@gmail.com>2017-08-22 17:39:25 +0300
committerCalin Tataru <calintat@gmail.com>2017-08-22 17:39:25 +0300
commit33fabfb3369728589d7c779f8a83eb78db1ad865 (patch)
tree47c05f80257d9e0b9b2cbbd916eaa2467da8ad01 /layouts
parentfa1838bc2214235040d1a48c83433d18b7a7c2de (diff)
Cleaned up comments section (#19)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 5e8fb92..57be996 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -17,10 +17,14 @@
{{ end }}
-</main>
+ {{ if and .Site.DisqusShortname (not .Params.disableComments) }}
+
+ <h4 class="page-header">Comments</h4>
+
+ {{ template "_internal/disqus" . }}
-{{ if and .Site.DisqusShortname (not .Params.disableComments) }}
- {{ template "_internal/disqus.html" . }}
-{{ end }}
+ {{ end }}
+
+</main>
{{ partial "footer.html" . }}