hugo-stanley/layouts/partials/article-comments.html

7 lines
306 B
HTML
Raw Normal View History

2020-03-03 18:56:59 +01:00
{{- if gt (len site.DisqusShortname) 0 -}}
{{- if or (eq .Params.comments true) (and (ne .Params.comments false) (eq site.Params.comments.enable true)) -}}
<section class="article discussion">
{{- template "_internal/disqus.html" . -}}
</section>
{{- end -}}
{{- end -}}