Hi everyone,
I started developing some websites with Grav, with the idea to create a “base theme” and then inherit from it and customize it for my various websites.
But I have some troubles with the default theme settings (yaml files) and twig. It seems like my child theme doesn’t inherit the default settings defined by the parent theme.
For example, my base theme is A and my child theme is B.
The default file "a.yaml" has the option “color: red”. And the child settings "b.yaml" doesn’t override this value (color is not defined at all).
According to the Theme-Configuration page (https://learn.getgrav.org/themes/theme-configuration), I expect to get the “red” string when I use Twig like this :
{{ grav.theme.config.color }}
But I get nothing...
What's the expected behavior regarding default settings when you inherit a theme ? Am I missing something ?
Remarks : I use grav v1.1.0-beta.5, so I think I can use {{ grav.theme.config.color }}, right ?
PS : Grav is awesome ;-)