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:
-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 -->