diff --git a/templates/page/html.html.twig b/templates/page/html.html.twig index b08d3227fe365eab4110dd4cfc32b414d3573b0e..9b31116d31288cf6861ba9ff696cdb723f15b53e 100644 --- a/templates/page/html.html.twig +++ b/templates/page/html.html.twig @@ -21,21 +21,18 @@ * @see template_preprocess_html() */ #} - {% set body_classes = [ logged_in ? 'user-logged-in', not root_path ? 'path-frontpage' : 'path-' ~ root_path|clean_class, not root_path ? 'front' : 'not-front', node_type ? 'node-page node-page--node-type-' ~ node_type|clean_class, ] %} - <!DOCTYPE html> <html{{ html_attributes }} class="no-js"> <head> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> <link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=Barlow:wght@400;500;700&display=swap" /> - <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=Barlow:wght@400;500;700&display=swap" - media="print" onload="this.media='all'" /> + <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=Barlow:wght@400;500;700&display=swap" media="print" onload="this.media='all'" /> <noscript> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=Barlow:wght@400;500;700&display=swap" /> </noscript> @@ -49,10 +46,10 @@ <!-- End Google Tag Manager --> {% endif %} <head-placeholder token="{{ placeholder_token|raw }}"> - <title>{{ head_title|safe_join(' | ') }}</title> - <css-placeholder token="{{ placeholder_token|raw }}"> - <js-placeholder token="{{ placeholder_token|raw }}"> - </head> + <title>{{ head_title|safe_join(' | ') }}</title> + <css-placeholder token="{{ placeholder_token|raw }}"> + <js-placeholder token="{{ placeholder_token|raw }}"> +</head> <body{{ attributes.addClass(body_classes) }}> {% if not uw_admin_page %} <!-- Google Tag Manager (noscript) -->