Banner

Last Edit: 2026-06-09

Renders hero style section with page title and description.

Banner is ‘hero’ type partial, applied to sections by default. This partial will use the page title as a level 1 header (h1), and renders the page description.

Usage

Partial

{{ partial "banner" . }}

Configuration

Can be configured in the params.toml file.

[banner]TypeDefaultDescription
homebooltrueToggle banner on home page.
sectionbooltrueToggles banner on section pages.
singleboolfalseToggles banner on single pages.
shadowbooltrueToggles shadows for banner partial.

References

1


  1. The Hugo Authors. “Sections .” 2026. ↩︎