Link Search Menu Expand Document

Template JSON

Each template has a file template.json, it contains the data related to the template.

The main structure for template.json consists of widgets and blocks.

This file is responsible to render the default widgets and blocks, as you see below

Widgets and Blocks

The code structure inside template.json will look like

{
  "widgets": {
    // insert widgets content
  },
  "blocks": {
    // insert blocks content
  }
}

Table of contents