mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 04:13:23 +00:00
The featured card's quote was centered (inheriting `text-center` from the section wrapper) while the avatar+name+role row read as left- aligned because the flex container starts at the card's left edge — the two halves of the same card disagreed. Multi-card grid was already left-aligned, so single-vs-grid was inconsistent too. Move `text-center` from the outer wrapper onto the section header (title/text) only. The featured card and grid cards now both render left-aligned, the decorative `"` mark sits naturally as a leading glyph for the quote, and the awkward forced line breaks from text-center go away.
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