Skip to content

Commit

Permalink
Improve rendering in older Internet Explorer
Browse files Browse the repository at this point in the history
To ensure that older IE versions always render with the correct rendering engine, added a meta tag
  • Loading branch information
bsushmith authored and NickColley committed Jan 10, 2019
1 parent 87987d3 commit 7814944
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<title>{% block pageTitle %}GOV.UK - The best place to find government services and information{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="{{ themeColor | default('#0b0c0c') }}" /> {# Hardcoded value of $govuk-black #}
{# Ensure that older IE versions always render with the correct rendering engine #}
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

{% block headIcons %}
<link rel="shortcut icon" sizes="16x16 32x32 48x48" href="{{ assetPath | default('/assets') }}/images/favicon.ico" type="image/x-icon" />
Expand Down

0 comments on commit 7814944

Please sign in to comment.