Skip to content

Commit

Permalink
Merge pull request #1119 from bsushmith/master
Browse files Browse the repository at this point in the history
update template.njk to add IE meta tag
  • Loading branch information
NickColley authored Jan 10, 2019
2 parents 87987d3 + c9d2da4 commit cedf335
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@

([PR #1109](https://github.com/alphagov/govuk-frontend/pull/1109))

- Improve rendering in older Internet Explorer

Added a meta tag to ensure that older IE versions always render with the correct rendering engine

([PR #1119](https://github.com/alphagov/govuk-frontend/pull/1119))

## 2.4.1 (fix release)

🔧 Fixes:
Expand Down
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 cedf335

Please sign in to comment.