organisms
Global footer
The site footer with the primary nav, social accounts, and copyright line.
Specimens
This page already renders the global footer, which embeds the primary nav with its fixed id, so a second copy would duplicate that id.
Params
| Param | Type | Description |
|---|---|---|
cms | object | CMS document. contact[0].socialAccounts feeds the social links. navigation[0].headerItems feeds the primary nav. |
pages | array | Passed to the primary nav as the eleventyNavigation fallback. |
currentUrl | string | Passed to the primary nav for aria-current. |
year | number or string | Copyright year. |
classes | string, variant map, or array | Applied to the <footer> through classes, after the footer baseline. |
Notes
The homepage pins it to the bottom of the body with classes, and other pages leave it in flow. The caller passes year, cms, pages, and currentUrl.