custom/plugins/TcinnThemeWareClean/src/Resources/views/storefront/themeware/twt-base-meta-tags.html.twig line 1

Open in your IDE?
  1. {# ThemeWare meta tags #}
  2. {#
  3.     @Storefront/storefront/themeware/twt-base-meta-tags.html.twig
  4.     see also...
  5.     - layout\meta.html.twig
  6. #}
  7. {# ---------------- START: SET TEMPLATE VARS ---------------- #}
  8. {# ThemeWare: Set theme variables #}
  9. {% set twtCustomHtmlCode = theme_config('twt-custom-html-code') %}
  10. {% set twtExpertMode = theme_config('twt-expert-mode') %}
  11. {# ---------------- END: SET TEMPLATE VARS ---------------- #}
  12. {# ThemeWare: Meta tags <head> #}
  13. {% block twt_layout_head_meta_tags %}
  14.     {# TODO: Check if verification keys make sense... #}
  15.     {# ThemeWare: Add custom HTML code to <head> #}
  16.     {% apply spaceless %}
  17.         {% if twtCustomHtmlCode and twtCustomHtmlCode is not empty and twtExpertMode == 2 %}
  18.             <!-- Custom html code -->
  19.             {{ twtCustomHtmlCode|raw }}
  20.         {% endif %}
  21.     {% endapply %}
  22. {% endblock %}