templates/web/customer/header/parts/parts.css/css_aggregation.twig line 1

Open in your IDE?
  1. {##
  2.  # Header part
  3.  #
  4.  # @ListChild (list="head.css", weight="200")
  5.  #}
  6. {% if this.doCSSAggregation() %}
  7. {% for file in this.getAggregateCSSResources() %}
  8.   {% if this.doCSSOptimization() and this.isResourceSuitableForOptimization(file) %}
  9.     {{ this.getInternalCssByResource(file)|raw }}
  10.   {% else %}
  11.     {{ widget(template='header/parts/parts.css/css_resource.twig',
  12.       async=file.async,
  13.       media=file.media,
  14.       url=this.getResourceURL(file.url, file)
  15.     ) }}
  16.   {% endif %}
  17. {% endfor %}
  18. {% endif %}