Configuration
linotype/Module
Define an array with module key and the following datas:
The version is used to be notified in the linotype tools if a new version of the module is available. You need to configure linotype sync systeme.
version: 1.0
The author is the repository reference to the block. Like linotype/slider
author: linotype
Define a theme name displayed in the linotype tools
name: Header
Define a theme description displayed in the linotype tools
desc: The header website with title and menu
the module layout part is a list of blocks that you can use multiple time in your templates.
layout:
block_id_1:
block: Title
override:
- title/field: Static
- title/value: My website
block_id_2:
block: Menu
key | description | type | require | default |
block | The block ID to use in the module | string | no | Static |
override | List of block value to override from the module | array | no | null |
debug | Display a debug panel above the module in the template | boolean | no | false |
block_id_1: By default, this block has an auto-generates field for the backend. Use the override option to define a value and use this block with static data only in this module.
Last modified 1yr ago