Skip to main content

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

ParamTypeDescription
cmsobjectCMS document. contact[0].socialAccounts feeds the social links. navigation[0].headerItems feeds the primary nav.
pagesarrayPassed to the primary nav as the eleventyNavigation fallback.
currentUrlstringPassed to the primary nav for aria-current.
yearnumber or stringCopyright year.
classesstring, variant map, or arrayApplied 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.