mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-13 02:18:29 +00:00
2558f6bbde
As of Hugo 0.120.0, `.Site.disqusShortname` and `.Site.googleAnalytics` are deprecated. Backward
compatible change, new notation supported from Hugo v0.41. See
4ddcf52ccc
5 lines
No EOL
190 B
HTML
5 lines
No EOL
190 B
HTML
{{ if and (.Site.Config.Services.Disqus.Shortname) (.Param "comments") (not .Site.IsServer) }}
|
|
<section class="comments block">
|
|
{{ template "_internal/disqus.html" . }}
|
|
</section>
|
|
{{ end }} |