Isomer Guide (Legacy sites)
UpdatesOfficial WebsiteGithub Repository
  • Introduction
  • Accounts & Setup
    • Github Account Setup
      • Set up 2FA
    • Site Access
  • Get started
    • Your first edit
    • Create a new page
    • Create a new collection
    • Format your content
      • HTML cheatsheet
      • Markdown cheatsheet
    • Page config
  • Configurations
    • Config.yml file
      • Site color
    • Homepage
      • Basics
      • Hero Banner
      • Infobar
      • Infopic
      • Resources
      • Sample configuration
    • Pages
      • Configuration
      • Second and Third Level Navigation Pages
    • Navigation Bar
      • Configuration
    • Resources
      • Setup
      • Posts
      • Resources with v2 migration
    • Contact Us
      • Configuration
    • Footer
  • Features
    • Analytics and tracking
      • WOGAA
      • Google Analytics
      • Facebook Pixel
      • LinkedIn Insights
    • IsomerSSL
    • Content Recommender
  • Publish your changes
    • Overview
    • Creating a pull request
    • Approve a pull request
    • Merge a pull request
    • Site Launch
      • How to make records changes on ITSM?
  • Frequently Asked Questions (FAQ)
    • General
    • Security
    • Pull requests
    • Digital KPI
    • Migration v1 to v2
  • Updates
Powered by GitBook
On this page

Was this helpful?

  1. Configurations

Footer

PreviousConfigurationNextAnalytics and tracking

Last updated 4 years ago

Was this helpful?

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.yml and consists of the following configuration options. Some are required, some are not.

Required fields:

  • privacy_policy: the URL to your site's privacy statement. The privacy policy URL defaults to /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

  • terms_of_use: the URL to your site's terms of use. This URL defaults to /terms-of-use/ if left unspecified. We strongly recommend you prepare the terms of use prior to site launch. Your agency's legal department should be able to provide you with the necessary assistance.

Optional fields:

  • 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.yml if left unspecified

  • social_media: a list of links to your agency's social media profiles. Optional. The supported social media platforms are:

    • facebook

    • twitter

    • youtube

    • instagram

    • linkedin

  • 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 title and url for each link. Optional

Sample configuration of a footer in _data/footer.yml:

contact_us: /contact-us/
show_reach: true
feedback: https://form.gov.sg/#!/5a9ce876b3a3b6006e6b8335
faq: /faq/
privacy_policy: /privacy-policy/
terms_of_use: /terms-of-use/
copyright_agency: Open Government Products
social_media:
    facebook: https://www.facebook.com/YourFBPage
    twitter: https://www.twitter.com/YourTwitter
    youtube: https://www.youtube.com/YourYoutube
    instagram: https://www.instagram.com/your.insta/
    linkedin: https://www.linkedin.com/company/YourAgency

# If navlinks are the same as your navigation bar, you can omit this section entirely!
navlinks:
  - title: Sample Collection
    collection: sample-collection
  - title: Resource Room
    resource_room: true
  - title: Single Page
    url: /some-page/
  - title: Custom Sublinks
    url: /some-page-a/
    sublinks:
      - title: Subitem 1
        url: /some-page-a/
      - title: Subitem 2
        url: /some-page-b/
      - title: Subitem 3
        url: /some-page-c/
links:
  - title: Google
    url: https://www.google.com

feedback: the URL to the feedback form for the site. The 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

show_reach: set this value to true to show a link to . Optional

navlinks: a list of links to be displayed in the footer, in the same format as that of the . 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).

Digital Service Standards
FormSG
REACH
navigation bar
Sample footer