mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-21 21:58:28 +00:00
Fix comments condition
Don't show Disqus comments in Hugo local webserver
This commit is contained in:
parent
384c1ac3e1
commit
4cece3cf46
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{{ if and (.Site.DisqusShortname) (.Param "comments") }}
|
||||
{{ if and (.Site.DisqusShortname) (.Param "comments") (not .Site.IsServer) }}
|
||||
<section class="comments block">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue