binario/layouts/partials/comments.html
vimux 4cece3cf46
Fix comments condition
Don't show Disqus comments in Hugo local webserver
2018-06-18 21:48:14 +03:00

5 lines
No EOL
173 B
HTML

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