# Config.yml file

{% hint style="info" %}
Please ignore the other configurations set in this file that are not mentioned below. They are included by the Isomer team for your site to work properly.
{% endhint %}

#### Required configuration fields

| Field           | What it means                                                                                                                                                                                             |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| title           | the name of your site. It can be the name of your agency, name of the microsite, etc                                                                                                                      |
| url             | the production URL of your site, e.g. `https://www.abc.gov.sg`. This option is needed for features such as Facebook sharing to work and this will also affect your SEO score on WOGAA or Lighthaus Audit. |
| collections     | a list of all collections on your site. Refer to the [collection configuration](/configurations/pages/second-and-third-level-navigation-pages.md) for more details                                        |
| resources\_name | the name of your resource room. Refer to the [resource room setup](/configurations/resources.md) for more details                                                                                         |
| favicon         | the file path to the favicon that will appear on the browser window. This file must be in the `.ico` file format and it is usually in your /images folder                                                 |

#### **Optional Fields**

| **Field**         | What it means                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| shareicon         | <p>the default preview image displayed on social media platforms such as Facebook and WhatsApp if you share a link to a page on your site. </p><p></p><p><em><strong>Note:</strong> This image option will be overwritten if the page has its own <code>image</code> configuration. If left unspecified, this option defaults to the navigation bar icon. This image should be square, and have a resolution of 600x600 pixels.</em></p> |
| google\_analytics | your Google Analytics tracking ID. [For more information on setting up GA, you can refer to this page.](/features/analytics-and-seo/google-analytics.md)                                                                                                                                                                                                                                                                                 |
| recommender       | set to `true` to enable the automatic page [recommendation system. ](/features/content-recommender.md)This feature is currently experimental. Defaults to `false`.                                                                                                                                                                                                                                                                       |
| is\_government    | set to `false` if you would like to remove the Singapore Government lion masthead at the top of the site. Defaults to `true`.                                                                                                                                                                                                                                                                                                            |
| future            | set to `true` to enable publishing of posts dated in the future. More details can be found in the instructions for [post configuration](/configurations/resources/posts.md).                                                                                                                                                                                                                                                             |

Sample configuration (advanced Isomer-specific configuration have been omitted):

```
title: Ministry of ABC
url: "https://www.abc.gov.sg"

collections:
  about-us:
    output: true
  initiatives:
    output: true

resources_name: "media"
favicon: /images/favicon.ico
shareicon: /images/shareicon.png
google_analytics: UA-139339685-1
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://v2.isomer.gov.sg/configurations/sitewide-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
