binario/layouts/partials/comments.html
vimux fa13a9b9e2 Unify name convention for config params (camelCase)
* disable_comments -> comments
* dateformat -> dateFormat
* CardsColumns -> cardsPerRow
2018-04-25 21:51:50 +03:00

5 lines
No EOL
180 B
HTML

{{ if and .Site.DisqusShortname (not (or .Site.Params.comments .Params.comments)) }}
<section class="comments block">
{{ template "_internal/disqus.html" . }}
</section>
{{ end }}