diff --git a/packages/govuk-frontend-review/src/views/component-preview.njk b/packages/govuk-frontend-review/src/views/component-preview.njk index 36ec621a39..4be66939d0 100644 --- a/packages/govuk-frontend-review/src/views/component-preview.njk +++ b/packages/govuk-frontend-review/src/views/component-preview.njk @@ -4,10 +4,6 @@ {% block pageTitle %}{{ templateTitle }} - GOV.UK Frontend{% endblock %} -{% set bodyClasses %} - {{ bodyClasses }} -{% endset %} - {# Remove standard template banners/headers/frontmatter #} {% block skipLink %}{% endblock %} {% block bodyStart %} {% endblock %} diff --git a/packages/govuk-frontend-review/src/views/component.njk b/packages/govuk-frontend-review/src/views/component.njk index a853ab803c..a9aea3017b 100644 --- a/packages/govuk-frontend-review/src/views/component.njk +++ b/packages/govuk-frontend-review/src/views/component.njk @@ -5,9 +5,7 @@ {% block pageTitle %}{{ componentName | unslugify }} - GOV.UK Frontend{% endblock %} -{% set bodyClasses %} - language-markup -{% endset %} +{% set bodyClasses = "language-markup" %} {% set htmlMarkup %} {% include componentName + "/" + componentName + ".njk" ignore missing %} diff --git a/packages/govuk-frontend-review/src/views/components.njk b/packages/govuk-frontend-review/src/views/components.njk index ea1c6f906c..eabcb04d29 100644 --- a/packages/govuk-frontend-review/src/views/components.njk +++ b/packages/govuk-frontend-review/src/views/components.njk @@ -5,9 +5,7 @@ {% block pageTitle %}All components - GOV.UK Frontend{% endblock %} -{% set bodyClasses %} - language-markup -{% endset %} +{% set bodyClasses = "language-markup" %} {% block beforeContent %} {{ govukBreadcrumbs({