blog/themes/beautifulhugo/layouts/partials/disqus.html

7 lines
266 B
HTML
Raw Normal View History

2022-06-25 08:56:31 +01:00
{{ 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 }}