Skip to content

Commit

Permalink
Switch error page over to manage prototype layout
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Sep 14, 2023
1 parent daddab9 commit 4c82ead
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/errorServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function runErrorServer (error) {
}

const knownPaths = {
'/public/stylesheets/application.css': {
'/public/stylesheets/manage-prototype.css': {
type: 'text/css',
contents: fs.readFileSync(path.join(process.cwd(), '.tmp', 'public', 'stylesheets', 'manage-prototype.css'))
}
Expand Down
3 changes: 1 addition & 2 deletions lib/nunjucks/views/error-handling/server-error.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{%- set assetPath = '/manage-prototype/dependencies/govuk-frontend/govuk/assets' -%}
{% extends "govuk-prototype-kit/layouts/govuk-branded.njk" %}
{% extends "views/manage-prototype/layout.njk" %}

{% block pageTitle %}
Error {% if serviceName %}{{ serviceName }}{% endif %} – GOV.UK Prototype Kit
Expand Down

0 comments on commit 4c82ead

Please sign in to comment.