{{- /* Never ship a broken comments widget: enabled comments require complete Giscus configuration. */ -}} {{- if (.Param "comments") }} {{- $giscus := site.Params.giscus }} {{- if not (and $giscus $giscus.repo $giscus.repoId $giscus.category $giscus.categoryId) }} {{- errorf "comments are enabled for %q, but params.giscus requires repo, repoId, category, and categoryId" .RelPermalink }} {{- end }} {{- end }}