From bbfc44d22730abadbf3cd76a4eba280b334599a3 Mon Sep 17 00:00:00 2001 From: Michael Cheung Date: Mon, 8 Apr 2019 13:18:20 +0100 Subject: [PATCH] [refs #104] Remove dns-prefetch and reorder preconnect Reorder the asset `preconnect` and remove unneeded `dns-prefetch` and also reorder attributes to be consistent with those in the frontend library. --- app/views/includes/template.html | 15 ++++++++------- docs/views/layout.html | 4 ++-- docs/views/template.html | 15 ++++++++------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/app/views/includes/template.html b/app/views/includes/template.html index c80b028a..7625174a 100755 --- a/app/views/includes/template.html +++ b/app/views/includes/template.html @@ -12,19 +12,20 @@ {% block pageTitle %}{{ serviceName }}{% endblock %} - - - - + + - + + + + {% block headIcons %} - - + + {% endblock %} diff --git a/docs/views/layout.html b/docs/views/layout.html index ca40ab5f..d3fab929 100755 --- a/docs/views/layout.html +++ b/docs/views/layout.html @@ -36,8 +36,8 @@ {% from 'textarea/macro.njk' import textarea %} {% block headCSS %} - - + + {% endblock %} {% block pageTitle %} diff --git a/docs/views/template.html b/docs/views/template.html index 6c3a792e..43bd07a9 100755 --- a/docs/views/template.html +++ b/docs/views/template.html @@ -12,21 +12,22 @@ {% block pageTitle %}NHS.UK prototype kit{% endblock %} - - - - + + + + + {% block headCSS %} - + {% endblock %} {% block headIcons %} - - + + {% endblock %}