mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 12:13:57 +00:00
- features: add bento layout (asymmetric first-card-featured grid with grid-flow-dense), subtitle field, per-item image support - stats: add numbers_gradient option (bg-clip-text gradient numbers) - pricing: gradient border wrapper on highlighted tier replacing ring, gradient CTA button on primary style; extracted TierCardContent - testimonials: single item → featured card with decorative quote mark and gradient avatar fallback; multiple → responsive card grid - cta-image-paragraph: rounded-2xl image wrapper with shadow, pill CTA button, circle-icon feature list - cta-card: fix auto text-color detection on colored gradient cards; use full literal class strings (Tailwind scanner safety) - parse_block_v3: radial gradient support, section_break mask-image fade, bg-color migration to section element when gradient_mesh active to fix stacking context (orbs at z:-10 no longer occluded)
HugoBlox Kit Modules
Install HugoBlox features as Hugo Modules.
Quick start (most sites)
Add HugoBlox Kit core to config/_default/module.yaml (or hugo.yaml):
module:
imports:
- path: github.com/HugoBlox/kit/modules/blox
That’s it — analytics is already included when you use modules/blox.
Module map
- Core framework:
github.com/HugoBlox/kit/modules/blox- Layouts, blocks (Blox), Tailwind pipeline, shortcodes, defaults
- Includes:
github.com/HugoBlox/kit/modules/analytics
- Slides (content type):
github.com/HugoBlox/kit/modules/slides- Markdown slide decks (powered by Reveal.js)
- Integrations:
github.com/HugoBlox/kit/modules/integrations/*- Netlify:
github.com/HugoBlox/kit/modules/integrations/netlify
- Netlify:
Optional installs
Slides
module:
imports:
- path: github.com/HugoBlox/kit/modules/blox
- path: github.com/HugoBlox/kit/modules/slides
Netlify integration (security headers + redirects outputs)
module:
imports:
- path: github.com/HugoBlox/kit/modules/blox
- path: github.com/HugoBlox/kit/modules/integrations/netlify
Then enable Hugo outputs for Netlify:
outputs:
home: [HTML, RSS, headers, redirects]
Updating
hugo mod get -u github.com/HugoBlox/kit/modules/blox@main
hugo mod tidy