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