diff options
author | Calin Tataru <calintat@gmail.com> | 2017-08-22 17:39:25 +0300 |
---|---|---|
committer | Calin Tataru <calintat@gmail.com> | 2017-08-22 17:39:25 +0300 |
commit | 33fabfb3369728589d7c779f8a83eb78db1ad865 (patch) | |
tree | 47c05f80257d9e0b9b2cbbd916eaa2467da8ad01 | |
parent | fa1838bc2214235040d1a48c83433d18b7a7c2de (diff) |
Cleaned up comments section (#19)
-rw-r--r-- | layouts/_default/single.html | 12 |
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" . }} |