Interpolate Twig variable/attribute inside value of another Twig attribute definition

Issue Take the following example structure: {% set paths = { … ‘js’: { … ‘jquery’: { ‘version’: ‘1.7.2’, ‘cdn’: ‘https://ajax.googleapis.com/ajax/libs/jquery/{{paths.js.jquery.version}}/jquery.min.js’, ‘fallback’: …. } } } %} To access, I would normally use something like: <script src="{{paths.js.jquery.cdn}}"></script> The problem: The

Continue reading