I'm including CSS stylesheets in my template like so:
{% stylesheets
"@SomeBundle/Resources/assets/css/default.css.twig"
"@SomeBundle/Resources/assets/css/global.css.twig"
%}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
However I want to run these CSS files through Twig, is this in any way possible while using the {% stylesheets %}
tag or does this require some other approach. I've already tried enabling a twig
filter but that does not exist.
stylesheets
tag is no related to Twig. This tag is contributed byAsseticBundle
. Could you clarify your question, I have hard time understanting what you try to achieve :) – Chiron