Content Portal Configuration Reference

You can modify the default Heretto Deploy Portal settings by editing the config.json file.

Tip: For more information about the config.json file, see Customize the Content Portal Settings. You can also preview the JSON settings by going to https://{portal-url}/api/config.

Default config.json file

{
    "title": "Content Portal",
    "sectionFilter": {"type": "sitesection"},
    "unsupportedBrowserFile": "",
    "unsupportedBrowserRegExp": "",
    "supportedBrowserMinimumVersions": {
        "chrome": "60",
        "firefox": "63",
        "safari": "11",
        "edge": "79",
        "opera": "47"
    },
    "prerenderToc": true,
    "cacheExpiry": 900,
    "prettifyPre": true,
    "prettifyCode": true,
    "prettifyCodeLang": 'bash',
    "knownIssuesUrl": "https://github.com/Jorsek/content-portal/issues",
    "keywords": [
        "node",
        "express",
        "static"
    ],
    "toc": {
        "allowFilter": false,
        "contentScrollConfig": {
            "block": "start",
            "behavior": "auto"
        }
    },
    "footer": {
        "logoSrc": "",
        "logoAlt": "",
        "copyright": "message.footer.copyright",
        "links": []
    },

    "search": {
        "ref": "href",
        "fields": [
            "href",
            "shortDescription",
            "title"
        ],
        "sections": [
            "sitesection"
        ],
        "facets": [
            "Information_Type",
            "Area"
        ]
    },
    "analytics": {
        "datadog": {
            "datacenter": "us",
            "resourceSampleRate": 100,
            "sampleRate": 100
        },
        "google": true
    },
}

Common Customizations

Change the Heretto Deploy Portal title

Fill in "title": with your own value. For example: "title": "My Company".

Change the default section icon
"defaultSectionIcon": "your-server-url/default-icon.png",
Change the default favicon
"favicon": "your-server-url/favicon.ico",