Skip to content

Commit

Permalink
Update management pages to use GOV.UK Frontend paths
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Sep 1, 2023
1 parent e0872c9 commit 3131209
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/nunjucks/views/manage-prototype/layout.njk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- set assetPath = '/manage-prototype/dependencies/govuk-frontend/govuk/assets' -%}
{%- set assetPath = '/manage-prototype/dependencies/govuk-frontend' + govukFrontend.assetPath -%}
{% extends "govuk-prototype-kit/layouts/govuk-branded.njk" %}

{% block pageTitle %}
Expand Down
5 changes: 3 additions & 2 deletions lib/nunjucks/views/manage-prototype/scripts.njk
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<script src="/manage-prototype/dependencies/govuk-frontend/govuk/all.js"></script>
<script src="/manage-prototype/dependencies/govuk-frontend/govuk-prototype-kit/init.js"></script>
{% for script in govukFrontend.scripts -%}
<script src="/manage-prototype/dependencies/govuk-frontend{{ script }}"></script>
{% endfor %}
<script src="/plugin-assets/govuk-prototype-kit/lib/assets/javascripts/kit.js"></script>

0 comments on commit 3131209

Please sign in to comment.