Files
George Cushen f4280ddb1c refactor: rename modules and update migration docs
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.
2026-01-02 20:59:48 +00:00

14 lines
633 B
HTML

{{/* Load Hugo Blox - HBX resolver-based system
Blocks live in `blox/<block-id>/block.html` and are mounted to `layouts/_partials/hbx/blocks/<block-id>/block.html`.
Landing pages must specify `sections: [{ block: '<id>', ... }]`.
*/}}
{{/* Use unified sections source */}}
{{- $sections := partial "hbx/sections.html" . -}}
{{ range $index, $block := $sections }}
{{/* Do not show sections intended only for the demo site. */}}
{{ if or (not $block.demo) ($block.demo | and (eq (os.Getenv "HUGO_BLOX_DEMO") "true")) }}
{{ partial "functions/parse_block_v3" (dict "page" $ "block" $block) }}
{{ end }}
{{ end }}