mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-24 23:18:33 +00:00
b099c5e941
Enable/disable "TOC" and "comments" partials for all site or specific posts. See: https://gohugo.io/functions/param/
5 lines
No EOL
152 B
HTML
5 lines
No EOL
152 B
HTML
{{ if and (.Site.DisqusShortname) (.Param "comments") }}
|
|
<section class="comments block">
|
|
{{ template "_internal/disqus.html" . }}
|
|
</section>
|
|
{{ end }} |