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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ottens <ervin@ipsquad.net>2019-03-15 13:03:46 +0300
committerHanzei <16541325+hanzei@users.noreply.github.com>2019-03-15 13:03:46 +0300
commit29aa348daab6bf2e621314426dd8819e927290f6 (patch)
tree3bdfcfc97b91a151276d00d1d4443ec97208fa5f /layouts/blog
parenta8f42fd1d688424555b012fa55820ea9f982e3a5 (diff)
Move comments handling in a partial (#138)
This way it's much easier to tune the comment handling in general (like disable it for some sections) or integrate a different commenting system than disqus.
Diffstat (limited to 'layouts/blog')
-rw-r--r--layouts/blog/single.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 7eeaf40..53ab6a2 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -57,7 +57,5 @@
{{ .Content }}
</div>
<!-- End blog post content -->
- <div class="disqus">
- {{ template "_internal/disqus.html" . }}
- </div>
+ {{ partial "comments.html" . }}
{{ end }}