Skip to content

Commit

Permalink
Fix Review app bodyClasses trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Nov 20, 2023
1 parent 16c463c commit b51c93e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
4 changes: 1 addition & 3 deletions packages/govuk-frontend-review/src/views/component.njk
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
4 changes: 1 addition & 3 deletions packages/govuk-frontend-review/src/views/components.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@

{% block pageTitle %}All components - GOV.UK Frontend{% endblock %}

{% set bodyClasses %}
language-markup
{% endset %}
{% set bodyClasses = "language-markup" %}

{% block beforeContent %}
{{ govukBreadcrumbs({
Expand Down

0 comments on commit b51c93e

Please sign in to comment.