The footer is a "bottom navigation bar" to wrap up a page on your site. It gives your site's visitors another opportunity to find the page with the information they are looking for, or to send them to another page they may be interested in.
The footer also contains certain links and information such as the privacy statement, copyright agency, report vulnerability link and last updated date.
The footer configuration file is located at
_data/footer.ymland consists of the following configuration options. Some are required, some are not.
feedback: the URL to the feedback form for the site. The Digital Service Standards requires all web-based digital services and mobile applications to provide a mean for users to provide feedback. We strongly recommend you create a feedback form using FormSG
/privacy/if left unspecified. We strongly recommend you prepare a privacy statement prior to site launch. Your agency's legal department should be able to provide you with the necessary assistance
contact_us: the URL to the page with your agency's contact information. Optional
faq: the URL to your site's frequently asked questions page. Optional
copyright_agency: the name of the agency to be displayed in the copyright notice on the bottom right of the footer. Optional, defaults to your site title in
_config.ymlif left unspecified
social_media: a list of links to your agency's social media profiles. Optional. The supported social media platforms are:
navlinks: a list of links to be displayed in the footer, in the same format as that of the navigation bar. Optional, defaults to the same list as the navigation bar if left unspecified. This option should only be used if there are links you do not wish to include in the footer, or additional links you want to include in the footer but not in the navigation bar. Note that links with titles "FAQ" or "Contact Us" are automatically removed as their links are placed separately in the footer (see above).
links: a list of up to 2 additional custom links to be displayed in the bottom right of the footer, together with
contact_us, etc. Takes a
urlfor each link. Optional
Sample configuration of a footer in
copyright_agency: Open Government Products
# If navlinks are the same as your navigation bar, you can omit this section entirely!
- title: Sample Collection
- title: Resource Room
- title: Single Page
- title: Custom Sublinks
- title: Subitem 1
- title: Subitem 2
- title: Subitem 3
- title: Google