src/CoreBundle/Resources/views/Includes/appendStylesandScripts.html.twig line 1

Open in your IDE?
  1. {% set BundleName =  '/'~document.module~'/' %}
  2. {# merged two files with grant concat:
  3. {% do pimcore_head_link().appendStylesheet(asset('static'~BundleName~'css/style-m.css')) %}
  4. {% do pimcore_head_link().appendStylesheet(asset('static'~BundleName~'css/style-l.css')) %}
  5. #}
  6. {% do pimcore_head_link().appendStylesheet(asset('static'~BundleName~'css/styles.css')) %}
  7. {# the print.css is never generated and throws a 404 currently, so it is commented out. If we want to use it again uncomment the following line and generate the required print.css #}
  8. {#{% do pimcore_head_link().appendStylesheet(asset('static'~BundleName~'css/print/print.css'), 'print') %}#}
  9. {% if editmode %}
  10.     {% do pimcore_head_link().appendStylesheet(asset('static'~BundleName~'css/editmode.css')) %}
  11. {% endif %}
  12. {% if not editmode %}
  13. {# When changing the JS here always update the hash ("Ymdhi"): #}
  14. {% do pimcore_head_script().appendFile(asset('static'~BundleName~'js/main.min.js?22206281130')) %}
  15. {% endif %}