{{- if or (eq .Params.comments true) (and (ne .Params.comments false) (eq site.Params.comments.enable true)) -}}
{{- if gt (len site.DisqusShortname) 0 -}} {{- template "_internal/disqus.html" . -}} {{- else if ne site.Params.comments.utterances.repo "" -}} {{- end -}}
{{- end -}}