Theme Templates and Data
Theme layout
All theme template files must extend layout.twig
file, which include: header
,footer
and main_content
blocks.
As an example: layout.twig
Theme data
In each page, there are specified data available for developers to consume, which will give the developer a large space to show and use their skills in building a theme.
Available data across all theme template
template (string with template name ex: home, products ..etc )
Templates
Home
url: /
In home.twig
display modules added by user by home_template_modules check home template modules