{{- $server := "" }}
{{- if ge (int (index (split hugo.Version ".") 1)) "120" }}
	{{- $server = hugo.IsServer }}
{{- else }}
	{{- $server = .Site.IsServer }}
{{- end }}
{{- if and (.Site.Config.Services.Disqus.Shortname) (.Param "comments") (not $server) }}
<section class="comments block">
	{{ template "_internal/disqus.html" . }}
</section>
{{- end }}