src/Develey/BrandBundle/Resources/views/Includes/headDefault.html.twig line 1

Open in your IDE?
  1. <head>
  2.     <script src="https://cdn.userway.org/widget.js" data-account="gquEgZZCm9"></script>
  3.     <meta charset="UTF-8">
  4.     <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  5.     {% spaceless -%}
  6.         <!--
  7.         /**
  8.          * @license
  9.          * MyFonts Webfont Build ID 3697904, 2019-01-14T14:44:27-0500
  10.          *
  11.          * The fonts listed in this notice are subject to the End User License
  12.          * Agreement(s) entered into by the website owner. All other parties are
  13.          * explicitly restricted from using the Licensed Webfonts(s).
  14.          *
  15.          * You may obtain a valid license at the URLs below.
  16.          *
  17.          * Webfont: FrutigerLTPro-Light by Linotype
  18.          * URL: https://www.myfonts.com/fonts/linotype/frutiger/pro-45-light/
  19.          *
  20.          * Webfont: FrutigerLTPro-Roman by Linotype
  21.          * URL: https://www.myfonts.com/fonts/linotype/frutiger/pro-55-roman-2/
  22.          *
  23.          * Webfont: FrutigerLTPro-Bold by Linotype
  24.          * URL: https://www.myfonts.com/fonts/linotype/frutiger/pro-65-bold-2/
  25.          *
  26.          *
  27.          * License: https://www.myfonts.com/viewlicense?type=web&buildid=3697904
  28.          * Licensed pageviews: 1,000,000
  29.          * Webfonts copyright: Copyright &#x00A9; 2014 - 2016 Monotype Imaging Inc. All rights
  30.          * reserved.
  31.          *
  32.          * © 2019 MyFonts Inc
  33.         */
  34.         -->
  35.         {{ include('Includes/appendStylesandScripts.html.twig') }}
  36.         {% if not document is defined or not document %}
  37.             {% set document = pimcore_document(navigationStartId) %}
  38.         {% endif %}
  39.         {% if document is instanceof('\\Pimcore\\Model\\Document\\Link') %}
  40.             {# @var document \Pimcore\Model\Document\Link #}
  41.             {% set document = document.getObject() %}
  42.         {% endif %}
  43.         {% do pimcore_head_title().append(pageTitlePrefix) %}
  44.         {% do pimcore_head_title().setSeparator(' | ') %}
  45.         {% if document.getTitle() is not empty %}
  46.             {# print title #}
  47.             {{ pimcore_head_title(document.getTitle()) }}
  48.             {% do pimcore_head_meta().setName('og:title', document.getTitle()) |raw %}
  49.         {% else %}
  50.             {{ pimcore_head_title(document.properties.navigation_name.data) }}
  51.             {% do pimcore_head_meta().setName('og:title', document.properties.navigation_name.data) |raw %}
  52.         {% endif %}
  53.         {% if document.getProperty('og-image') is not empty %}
  54.             {% do pimcore_head_meta().setName('og:image', hostUrl ~document.getProperty('og-image') ) |raw %}
  55.         {% endif %}
  56.         {% if document.getDescription() is not empty %}
  57.             {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  58.             {% do pimcore_head_meta().setName('og:description', document.getDescription()) |raw %}
  59.         {% endif %}
  60.     {%- endspaceless %}
  61.     {% block layout_head_meta deferred %}
  62.     {# print meta #}
  63.     {{ pimcore_head_meta() }}
  64.     {% endblock %}
  65.     {% block head_stylesheets deferred %}
  66.     {{ pimcore_head_link() }}
  67.     {% endblock %}
  68.     {% block head_tag_manager deferred %}
  69.     {{ tag_manager_datalayer_render() }}
  70.     {% endblock %}
  71.     {#{% block head_ie_stylesheets %}#}
  72.     {#<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->#}
  73.     {#<!--[if lt IE 9]>#}
  74.     {#<script src="{{ asset('static/js/html5shiv.js') }}"></script>#}
  75.     {#<script src="{{ asset('static/js/respond.min.js') }}"></script>#}
  76.     {#<![endif]-->#}
  77.     {#{% endblock %}#}
  78.     {% if document.getProperty("preload.fast.fonts.net") is not empty and document.getProperty("preload.fast.fonts.net") %}
  79.     <link rel="preconnect" href="https://fast.fonts.net" crossorigin>
  80.     <link rel="dns-prefetch" href="https://fast.fonts.net" >
  81.     {% endif %}
  82.     {{ include('Includes/appendFavicons.html.twig') }}
  83. </head>