dev-master
9999999-devAllows the declaration of a theme’s parent, much like Wordpress.
MIT
The Requires
v1.0
1.0.0.0Allows the declaration of a theme’s parent, much like Wordpress.
MIT
The Requires
Allows the declaration of a theme’s parent, much like Wordpress.
Allows the declaration of a theme’s parent, much like Wordpress. Only support Twig templates for now., (*1)
By default, Bolt configures Twig to load files from your theme, but if not found,
it will look in app/theme_defaults
.
This is done using Twig’s feature of having a twig.path
., (*2)
Normally, your Twig path will look like this:, (*3)
- /PATH/theme/THEME - /PATH/app/theme_defaults
With this extension, it will look like this:, (*4)
- /PATH/theme/THEME - /PATH/theme/PARENT_THEME - /PATH/theme/PARENT_PARENT_THEME - /PATH/app/theme_defaults
In your theme, simply declare its parent by adding this to your config.yml
:, (*5)
parent: PARENT_THEME
Allows the declaration of a theme’s parent, much like Wordpress.
MIT
Allows the declaration of a theme’s parent, much like Wordpress.
MIT