diff --git a/CHANGELOG.md b/CHANGELOG.md index f240743b38..c1eadac7a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,8 @@ Note: We're not following semantic versioning yet, we are going to talk about th ([PR #748](https://github.com/alphagov/govuk-frontend/pull/748)) +- Remove `pageStart` block from template, as could result in rendering issues in older IE. + ([PR #765](https://github.com/alphagov/govuk-frontend/pull/765)) 🔧 Fixes: diff --git a/app/__tests__/app.test.js b/app/__tests__/app.test.js index f96a7a58dc..ddc28788cc 100644 --- a/app/__tests__/app.test.js +++ b/app/__tests__/app.test.js @@ -174,7 +174,6 @@ describe('frontend app', () => { }) }) ;[ - 'pageStart', 'headIcons', 'bodyStart', 'main', diff --git a/app/views/examples/template-block-areas/index.njk b/app/views/examples/template-block-areas/index.njk index 21c0224c4a..b4a98d743f 100644 --- a/app/views/examples/template-block-areas/index.njk +++ b/app/views/examples/template-block-areas/index.njk @@ -53,13 +53,6 @@ {% block bodyStart -%} {# Since we can't show the blocks in the ``, we pretend by creating a section in `bodyStart` #} -
-

- Set this block for comments above the <!DOCTYPE html>, useful if you want to set a comment. -
- For example: <!-- Hello, World. --> -

-

Set this block to override the default icons used for GOV.UK branded pages. diff --git a/app/views/examples/template-custom/index.njk b/app/views/examples/template-custom/index.njk index f6b0072e65..9563bd06e3 100644 --- a/app/views/examples/template-custom/index.njk +++ b/app/views/examples/template-custom/index.njk @@ -8,10 +8,6 @@ {% extends "template.njk" %} -{% block pageStart %} - -{% endblock %} - {% set htmlClasses = 'app-html-class' %} {% set htmlLang = 'fr' %} {% set assetPath = '' %} diff --git a/package/template.njk b/package/template.njk index beb4ee5506..8a76a351f0 100644 --- a/package/template.njk +++ b/package/template.njk @@ -1,8 +1,6 @@ {% from "./components/skip-link/macro.njk" import govukSkipLink %} {% from "./components/header/macro.njk" import govukHeader %} {% from "./components/footer/macro.njk" import govukFooter %} - -{% block pageStart %}{% endblock %} diff --git a/src/template.njk b/src/template.njk index 68ae54a416..7c8b9705b8 100644 --- a/src/template.njk +++ b/src/template.njk @@ -1,8 +1,6 @@ {% from "./components/skip-link/macro.njk" import govukSkipLink %} {% from "./components/header/macro.njk" import govukHeader %} {% from "./components/footer/macro.njk" import govukFooter %} - -{% block pageStart %}{% endblock %}