Skip to content

Commit

Permalink
Use serviceName in header (#417)
Browse files Browse the repository at this point in the history
Rather than being hardcoded, the service name in the header should use the `serviceName` variable set in `config.js`.
  • Loading branch information
frankieroberto authored Nov 18, 2024
1 parent 66806f9 commit e884ed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Updated start page template to use the `serviceName` variable in the h1 and title tag ([PR 414](https://github.com/nhsuk/nhsuk-prototype-kit/pull/414))
- Update Header to use the `serviceName` variable ([PR 417](https://github.com/nhsuk/nhsuk-prototype-kit/pull/417))

## 5.1.0 - 12 November 2024

Expand Down
2 changes: 1 addition & 1 deletion app/views/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{% block header %}
{{ header({
"service": {
"name": "Prototype kit",
"name": serviceName,
"href": "/"
},
"showNav": "false",
Expand Down

0 comments on commit e884ed1

Please sign in to comment.