Is there a way to append/prepend/replace {%javascripts%} or {%stylesheets%} 
 assets in a parent twig template from a child template? The idea is to 
maintain a single aggregated stylesheet or script tag for every page but the 
current design allows aggregation on a per {%javascripts%} or 
{%stylesheets%} node only.

Example:

parent base.html.twig
{%stylesheets 'yui-reset' filter='yui_css' %}
<link href="{{ asset_url }}" type="text/css"/>
{%endstylesheets%}

child  index.html.twig
{%extends '::base.html.twig'%}
{# how do i append more css in the parent stylesheet node #}

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to