custom/plugins/UltraStyler/src/Resources/views/storefront/layout/meta.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  2. {% set ultrastyleeditor = config('UltraStyler.config') %} 
  3. {% block layout_head_stylesheet %}
  4.     {{ parent() }}
  5.     {% block ultra_styler_css %}
  6. {% if ultrastyleeditor.active %}
  7.     {% if ultrastyleeditor.activecssgeneral %}
  8.     <style type="text/css" plugin-name="ultra-Styler-general">
  9.         {{ ultrastyleeditor.mycssgeneral | raw }}
  10.     </style>
  11.     {% endif %}
  12.     {% if ultrastyleeditor.activecssdesktop %}
  13.     <style type="text/css" plugin-name="ultra-Styler-desktop">
  14.     @media screen and (min-width:1260px) {
  15.         {{ ultrastyleeditor.mycssdesktop | raw }}
  16.     }
  17.     </style>
  18.     {% endif %}
  19.     {% if ultrastyleeditor.activecsstl %}
  20.     <style type="text/css" plugin-name="ultra-Styler-tl">
  21.     @media screen and (min-width:1024px) and (max-width:1259px) {
  22.         {{ ultrastyleeditor.mycsstl | raw }}
  23.     }
  24.     </style>
  25.     {% endif %}
  26.     {% if ultrastyleeditor.activecsstp %}
  27.     <style type="text/css" plugin-name="ultra-Styler-tp">
  28.     @media screen and (min-width:768px) and (max-width:1023px) {
  29.         {{ ultrastyleeditor.mycsstp | raw }}
  30.     }
  31.     </style>
  32.     {% endif %}
  33.     {% if ultrastyleeditor.activecsssl %}
  34.     <style type="text/css" plugin-name="ultra-Styler-sl">
  35.     @media screen and (min-width:480px) and (max-width:767px) {
  36.         {{ ultrastyleeditor.mycsssl | raw }}
  37.     }
  38.     </style>
  39.     {% endif %}
  40.     
  41.     {% if ultrastyleeditor.activecsssp %}
  42.     <style type="text/css" plugin-name="ultra-Styler-sp">
  43.     @media screen and (max-width:479px) {
  44.         {{ ultrastyleeditor.mycsssp | raw }}
  45.     }
  46.     </style>
  47.     {% endif %}
  48. {% endif %}
  49.     {% endblock %}
  50. {% endblock %}
  51. {% block layout_head_meta_tags_charset %}
  52.     {% if ultrastyleeditor.active %}
  53.         {% if ultrastyleeditor.activescripthead %}
  54.             {{ ultrastyleeditor.myjavatagshead|raw }}
  55.         {% endif %}
  56.         
  57.     {% endif %}
  58.     
  59.     {{ parent() }}
  60.     
  61. {% endblock %}
  62. {% block layout_head_javascript_token %}
  63.     {{ parent() }}
  64.     
  65.     {% if not is_jquery_loaded and ultrastyleeditor.activatejqueryagain == "on" %}
  66.         <script src="https://code.jquery.com/jquery.min.js" name="ultra_load_jquery"></script>
  67.         {% set is_jquery_loaded = true %}
  68.     {% endif %}
  69. {% endblock %}