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

4 lines
175 B
HTML

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