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

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDurand D'souza <durand1@gmail.com>2016-09-21 09:17:19 +0300
committerDurand D'souza <durand1@gmail.com>2016-09-21 09:17:19 +0300
commit0f3389bffc39e29dbf655c091958a69bec7e8d22 (patch)
tree7ba6139747d8cfb3219a1cd7f1c22fd8264d7428
parent16f06826e0fbf0b792614c2a3f4c500ca34012d5 (diff)
Can now turn off comments
-rw-r--r--layouts/_default/single.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index ad93ab6..59b0c5c 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -40,7 +40,9 @@
{{ if not (eq .Params.share false) }}{{ partial "share.html" . }}{{ end }}
</footer>
</div><!-- /.entry-content -->
+ {{ if ne .Params.comments false }}
<section id="disqus_thread">{{ template "_internal/disqus.html" . }}</section><!-- /#disqus_thread -->
+ {{ end }}
<!--{{ if ne .Type "page" }}{% if site.related_posts.size > 0 %}{% include read-more.html %}{% endif %}{{ end }} -->
</article>
</div><!-- /#main -->