mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 10:17:56 +00:00
BREAKING CHANGE Module paths moved to `github.com/HugoBlox/kit` with new names: - core `blox-tailwind` → `blox` - analytics → `analytics` - netlify → `integrations/netlify` - slides (reveal) → `slides` Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
9 lines
379 B
JSON
9 lines
379 B
JSON
{{- /* 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 -}}
|