Files
George Cushen a955161dbb fix(spacing): connect section spacing to design token system
Wire .hbb-section to var(--hb-spacing-section) instead of hardcoded 6rem,
enabling hugoblox.layout.spacing (compact/comfortable/spacious) to take effect.

- Default to "spacious" (6rem) to preserve existing visual layouts
- Per-section override via design.spacing.padding still works (inline > class)
- Remove dead design.spacing frontmatter field from all templates
- Set correct layout.spacing token in each template's params.yaml

Closes #3314
2026-04-08 18:19:15 +01:00

3.0 KiB

title, date, type, sections
title date type sections
Home 2023-10-24 landing
block content design
hero
title text primary_action secondary_action announcement
Write Docs Fast, Focus on Your Content The easy, no-code technical documentation solution your users will love 🎉
text url icon
Get Started https://hugoblox.com/templates/details/docs/ rocket-launch
text url
Read the docs /docs/
text link
Announcing the release of version 2.
text url
Read more /blog/
spacing css_class background
padding margin
0
0
0
0
0
0
0
0
color image
filename filters
brightness
0.5
block content design
stats
items
statistic description
1M+ Websites built with Hugo Blox
statistic description
10k+ GitHub stars since 2016
statistic description
3k+ Discord community for support
css_class spacing
bg-gray-100 dark:bg-gray-800
padding
1rem
0
1rem
0
block id content
features features
title text items
Features Collaborate, publish, and maintain technical knowledge with an all-in-one documentation site. Used by 100,000+ startups, enterprises, and researchers.
name icon description
Optimized SEO magnifying-glass Automatic sitemaps, RSS feeds, and rich metadata take the pain out of SEO and syndication.
name icon description
Fast bolt Super fast page load with Tailwind CSS and super fast site building with Hugo.
name icon description
Easy sparkles One-click deployment to GitHub Pages. Have your new website live within 5 minutes!
name icon description
No-Code code-bracket Edit and design your site just using rich text (Markdown) and configurable YAML parameters.
name icon description
Highly Rated star Rated 5-stars by the community.
name icon description
Swappable Blocks rectangle-group Build your pages with blocks - no coding required!
block content design
cta-card
title text button
Start Writing with the #1 Effortless Documentation Platform Hugo Blox Docs Theme brings all your technical knowledge together in a single, centralized knowledge base. Easily search and edit it with the tools you use every day!
text url
Get Started https://hugoblox.com/templates/details/docs/
card
css_class css_style
bg-primary-700