You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW I'm happy to create a PR for this, if you decide what's the best way to implement it.
I like my second approach with the sub-array. But at second thought we shouldn't name it config because the code already calls the whole site configuration $config internally. Maybe we could call it attributes, properties, traits, etc. And then use the singular in the site-Tag (e.g. {{ site:attribute:theme }}). What do you think?
Edit: Probably it should also be plural in the site-Tag, feels more natural to me. {{ site:attributes:theme }}
I would like to have the following multisite config:
So that I can use
{{ site:theme }}
in my antlers to set a class on the body tag.Maybe it could also look like this:
and then it could be used with
{{ site:config:theme }}
.My workaround for now would be to write a little Tag-Addon which would return the config based on the current site-handle.
The text was updated successfully, but these errors were encountered: