{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% set ultrastyleeditor = config('UltraStyler.config') %}
{% block layout_head_stylesheet %}
{{ parent() }}
{% block ultra_styler_css %}
{% if ultrastyleeditor.active %}
{% if ultrastyleeditor.activecssgeneral %}
<style type="text/css" plugin-name="ultra-Styler-general">
{{ ultrastyleeditor.mycssgeneral | raw }}
</style>
{% endif %}
{% if ultrastyleeditor.activecssdesktop %}
<style type="text/css" plugin-name="ultra-Styler-desktop">
@media screen and (min-width:1260px) {
{{ ultrastyleeditor.mycssdesktop | raw }}
}
</style>
{% endif %}
{% if ultrastyleeditor.activecsstl %}
<style type="text/css" plugin-name="ultra-Styler-tl">
@media screen and (min-width:1024px) and (max-width:1259px) {
{{ ultrastyleeditor.mycsstl | raw }}
}
</style>
{% endif %}
{% if ultrastyleeditor.activecsstp %}
<style type="text/css" plugin-name="ultra-Styler-tp">
@media screen and (min-width:768px) and (max-width:1023px) {
{{ ultrastyleeditor.mycsstp | raw }}
}
</style>
{% endif %}
{% if ultrastyleeditor.activecsssl %}
<style type="text/css" plugin-name="ultra-Styler-sl">
@media screen and (min-width:480px) and (max-width:767px) {
{{ ultrastyleeditor.mycsssl | raw }}
}
</style>
{% endif %}
{% if ultrastyleeditor.activecsssp %}
<style type="text/css" plugin-name="ultra-Styler-sp">
@media screen and (max-width:479px) {
{{ ultrastyleeditor.mycsssp | raw }}
}
</style>
{% endif %}
{% endif %}
{% endblock %}
{% endblock %}
{% block layout_head_meta_tags_charset %}
{% if ultrastyleeditor.active %}
{% if ultrastyleeditor.activescripthead %}
{{ ultrastyleeditor.myjavatagshead|raw }}
{% endif %}
{% endif %}
{{ parent() }}
{% endblock %}
{% block layout_head_javascript_token %}
{{ parent() }}
{% if not is_jquery_loaded and ultrastyleeditor.activatejqueryagain == "on" %}
<script src="https://code.jquery.com/jquery.min.js" name="ultra_load_jquery"></script>
{% set is_jquery_loaded = true %}
{% endif %}
{% endblock %}