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

github.com/pfadfinder-konstanz/hugo-dpsg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/comments.html')
-rw-r--r--layouts/partials/comments.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html
new file mode 100644
index 0000000..50b87a7
--- /dev/null
+++ b/layouts/partials/comments.html
@@ -0,0 +1,5 @@
+{{ if and .Site.DisqusShortname (index .Params "comments" | default "true") (not .Site.IsServer) }}
+<section class="comments">
+ {{ template "_internal/disqus.html" . }}
+</section>
+{{ end }} \ No newline at end of file