Skip to main content

Layers

Configuration#

The configuration of the layers needs to be done in the layers.yaml file.

twitter:
social:
- twitter
label:
en: Twitter
fr: Twitter
dimensions: [1280, 720]
layers:
...
PropertyUsage
twitterAn unique identifier defining a display for the template
socialAn array of the social accounts to be considered for this display (can be twitter, facebook, instagram or instagram-stories)
labelA translatable property defining the layer name
dimensionsAn array defining the dimensions of the template in pixels for the export (the format is [width, height])
layersThe list of the layers for this display

Main and additional displays#

The main display will define the complete list of the layers for the template. All the additional layers will override the layers from the main one, meaning this is not required to duplicate all the layers and properties in the additional layers. Only specific properties can be set up to specify the layers rendering on the additional displays.