web/themes/beautifulhugo/layouts/partials/disqus.html
2019-04-09 16:33:16 +02:00

7 lines
No EOL
266 B
HTML

{{ 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 }}