{{- /* Hugo 0.126+ requires a `home` layout file even if it's empty, otherwise shows warning */ -}}
{{- range site.Pages -}}{{- $_ := .WordCount -}}{{- end -}}
{{- if (eq (getenv "HUGO_BLOX_DEBUG") "true") -}}
  {{- $backlinks := (.Store.Get "backlinks" | uniq) | default dict -}}
  {{- jsonify (dict "indent" "  ") $backlinks -}}
{{- else -}}
  {{- jsonify dict -}}
{{- end -}}
