@Scrum what do you think about adding support for posthtml-expressions inside attribute values?
So we could then do:
<extends src="{{ condition ? 'primary' : 'secondary' }}.html">
... or:
<block name="{{ condition ? 'foo' : 'bar' }}">
I know you can just use posthtml-expressions in the plugins: [] option, but this can result in multiple expression evaluations if your build chain uses posthtml-expressions later on (example).
@Scrum what do you think about adding support for
posthtml-expressionsinside attribute values?So we could then do:
... or:
I know you can just use
posthtml-expressionsin theplugins: []option, but this can result in multiple expression evaluations if your build chain usesposthtml-expressionslater on (example).