Configuration
The configuration options available are:
layout
: this option must be set tocontact_us
title
: the title of the page which will be visible in the browser windowpermalink
: the path to the page, e.g./contact-us/
. Except for slashes denoting a category, the permalink should be alphanumeric (consisting only of letters, numbers, and dashes). No special characters such as?
or%
should be used. For aesthetic reasons, we further recommend that you avoid the use of capital lettersagency_name
: the text that will appear after "Get in touch with". Defaults to thetitle
in_config.yml
if left unspecified. Optionallocations
: a list of addresses to be displayed. Optional. Each location supports the following configuration options:title
: the title or name of this location, e.g. "HQ"address
: the address of the location. See the sample configuration below for an example of a multi-line addressmaps_link
: a link to the address on an online map service such as Google Maps or OneMap. If left unspecified, a Google Maps link will be automatically generated from the address. Optionaloperating_hours
: a list ofdays
,time
, anddescription
of the location's operating hours. Optional
contacts
: a list of contact details to be displayed. Optional. Each contact supports the following configuration options:title
: the title or name of this contact, e.g. "General Enquiries"content
: a list ofphone
,email
, orother
contacts under this title
Sample configuration of a contact us page:
---
layout: contact_us
title: Contact Us
permalink: /contact-us/
agency_name: Ministry of ABC
locations:
- title: Main Office
address:
- 31 Sesame Street
- Big Bird Building
- Singapore 123456
operating_hours:
- days: Mon - Fri
time: 8.30am - 6.00pm
description: Closed on Public Holidays
- days: Sat
time: 8.30am - 12.00pm
- title: Branch Office
address:
- 109 North Bridge Road
- Singapore 179097
maps_link: https://goo.gl/maps/C8VfxphGxT2GsfcaA
contacts:
- title: General Enquiries & Feedback
content:
- phone: +65 6123 4567
- email: [email protected]
- other: Any text here <i>including HTML</i>
- title: Careers
content:
- email: [email protected]
---

Last updated
Was this helpful?