appears to be in antimatter.yaml
i wanted to access the theme config from within a modu,le twig file (eg showcase.html.twig) but the variable is not defined here. I see that module extends partial/base which defines this variable. so i assumed it would be defined. but no.
sorry, this is due to my lack of twig understanding. I do think that the config should be accessilble from the modules.
You can access any configuration from anywhere, you just need to know how… it’s pretty easy from twig:
{% set dropdown_status = grav.config.themes.antimatter.dropdown.enabled %}
To know what and where things are you can look in the cached config object that represents all configuration as big array in cache/compiled/config/master-localhost.php
(or whatever it’s called for you)
1 Like
thanks for the tip!