Skip to main content

Template Settings

The settings.json file structure is the following:​

{
"Sections": {
"exampleSectionName": "Example section name to display",
"otherExampleSectionName": "Other example section name to display"
}
}

Where:

  • Sections is used on user's website editor to display the template components in collapsible sections'.
    • to take advantage of this one would need to add section attribute to the template object section="exampleSectionName"
    • adding section attribute to the template object would display the template object in a collapsible section

Extra information about the section attribute:​

  • exampleSectionName it's also used to render next or previous item in the list in template editor.

Docusaurus