mirror of
https://github.com/Vimux/Binario.git
synced 2024-12-27 06:53:34 +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 }} |