hugo-coder-fork/layouts/partials/posts/disqus.html

4 lines
193 B
HTML

{{- if and (isset .Site "disqusshortname") (not (eq .Site.DisqusShortname "" )) (eq (.Params.disable_comments | default false) false) -}}
{{ template "_internal/disqus.html" . }}
{{- end -}}