Skip to content
Snippets Groups Projects
Commit 66e5f1a1 authored by Liam Morland's avatar Liam Morland
Browse files

ISTWCMS-4708: Move 'head-placeholder' element first in 'head' element

This is required to put the meta-charset element first as required by
validation.

Fixes problem introduced in f7808664.
parent acc48c8c
No related branches found
No related tags found
1 merge request!67ISTWCMS-4708: Move important items nearer top of 'head' element
......@@ -30,6 +30,7 @@
<!DOCTYPE html>
<html{{ html_attributes }} class="no-js">
<head>
<head-placeholder token="{{ placeholder_token|raw }}">
<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'" />
......@@ -45,7 +46,6 @@
})(window,document,'script','dataLayer','GTM-M9XLVF');</script>
<!-- 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 }}">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment