mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-14 18:58:30 +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 }} |