-
Notifications
You must be signed in to change notification settings - Fork 4
Setting the footer style
Two footer styles are supported:
-
default
- the standard Ontario.ca footer. -
expanded
- a footer including the standard content that can also be customized with additional content using the template insrc/_includes/app/_footer_expanded.njk
. The additional content included is an example only.
The footer style is set in src/_data/app/app-globals.js
.
For full details and guidelines on footer styles in the Ontario Design System, consult the documentation on Ontario.ca footers.
To set the footer style differently for specific pages from the global config, you can specify it in the front matter of the page: footerType: expanded
Any content for the expanded footer should be localized using the approach described in the section Providing content in different languages. The example expanded footer's localized strings in /src/_data/core/core-locale-strings.json
should not be modified. Instead, create any localized strings for your specific application's expanded footer in /src/_data/app/app-locale-strings.json
.