{{- with .Site.Params.analytics.goatCounter -}} {{- if not .code -}} {{- errorf "Missing GoatCounter 'code' configuration. See https://imfing.github.io/hextra/versions/latest/docs/guide/configuration/#goatcounter-analytics" -}} {{- end -}} {{- end -}}