You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create lib/nunjucks/govuk-prototype-kit/layouts/govuk-branded.html, which contains contents of current app/views/layout.html.
app/views/layout.html can contain just a single line extending new layout. We may want more in there in the future but that is out of scope for this ticket.
Make sure that govuk-branded.html includes includes/stylesheets.html and includes/scripts.html, and has stylesheets, scripts, pageScripts and other convenience blocks for users.
Why
We want to move common lines in layout.html into the kit so we have more control over it and users have less to worry about when updating.
Who needs to work on this
Developer
Who needs to review this
Developer
Done when
layout.html is almost empty
Kit works as a package with all styles and macros as before
The text was updated successfully, but these errors were encountered:
What
Create
lib/nunjucks/govuk-prototype-kit/layouts/govuk-branded.html
, which contains contents of currentapp/views/layout.html
.app/views/layout.html
can contain just a single line extending new layout. We may want more in there in the future but that is out of scope for this ticket.Make sure that govuk-branded.html includes includes/stylesheets.html and includes/scripts.html, and has stylesheets, scripts, pageScripts and other convenience blocks for users.
Why
We want to move common lines in layout.html into the kit so we have more control over it and users have less to worry about when updating.
Who needs to work on this
Developer
Who needs to review this
Developer
Done when
The text was updated successfully, but these errors were encountered: