summaryrefslogtreecommitdiff
path: root/themes/beautifulhugo/layouts/partials/disqus.html
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2019-08-03 22:26:50 +0200
committerChristoph Cullmann <cullmann@kde.org>2019-08-03 22:26:50 +0200
commitec1341fcd178d72e1accd308d1ae314702e69c01 (patch)
tree927c5113475a982af7a4809af78a8f4b4990be62 /themes/beautifulhugo/layouts/partials/disqus.html
parent05bc58562c52539f196ae4357afd80a23d34e812 (diff)
use new theme
Diffstat (limited to 'themes/beautifulhugo/layouts/partials/disqus.html')
-rw-r--r--themes/beautifulhugo/layouts/partials/disqus.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/beautifulhugo/layouts/partials/disqus.html b/themes/beautifulhugo/layouts/partials/disqus.html
new file mode 100644
index 0000000..8029525
--- /dev/null
+++ b/themes/beautifulhugo/layouts/partials/disqus.html
@@ -0,0 +1,7 @@
+{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (.Site.Params.comments)) }}
+ {{ if .Site.DisqusShortname }}
+ <div class="comments">
+ {{ template "_internal/disqus.html" . }}
+ </div>
+ {{ end }}
+{{ end }} \ No newline at end of file