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

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  2. {% block layout_head_stylesheet %}
  3.     {{ parent() }}
  4.     {% set zenFontChange = context.context.extensions['zenitPlatformFontChange'].config %}
  5.     {% block zenit_font_change_css %}
  6.         {% if zenFontChange.customCSS %}
  7.             <style type="text/css" data-plugin="zenitPlatformFontChange">
  8.                 {{ zenFontChange.customCSS|raw }}
  9.             </style>
  10.         {% endif %}
  11.     {% endblock %}
  12.     {% block zenit_font_change_extern_files %}
  13.         {% set files = zenFontChange.externFiles|split('\n') %}
  14.         {% for file in files %}
  15.             {% if file|length %}
  16.                 <link rel="stylesheet" href="{{ file }}">
  17.             {% endif %}
  18.         {% endfor %}
  19.     {% endblock %}
  20. {% endblock %}