What is the right way to read the metadata saved from a form in a custom theme under the admin panel? I have found where my data are saved (user/config/themes/mytheme.yaml) and now I’m looking for the best way to read them back, from a .twig template for example. Thanks in advance for your help!
Thanks Flaviocopes That was exactly what I was looking for. Here’s my code snippet to display the text string which contains the Site Title that has been saved thru my theme form in the Admin panel:
{% if config.themes.mytheme.branding.site.title %}
{{ config.themes.mytheme.branding.site.title }}
{% endif %}