From e05695fdf9935126cd13d6bf4b7d7908b8a7c37c Mon Sep 17 00:00:00 2001 From: Frankie Roberto Date: Mon, 24 Aug 2026 17:29:13 +0100 Subject: [PATCH] Update pageTitle logic The app doesn't used a serviceName, so that shouldn't appear in the `pageTitle`. --- app/views/layout.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/layout.html b/app/views/layout.html index 075df27..b6a3e0b 100755 --- a/app/views/layout.html +++ b/app/views/layout.html @@ -16,6 +16,11 @@ {% from "nhsapp/components/tag/macro.njk" import nhsappTag %} {% from "nhsapp/components/timeline/macro.njk" import nhsappTimeline %} +{% block pageTitle -%} + {%- if errors === true or (errors | length) %}Error: {% endif -%} + {%- if pageName %}{{ pageName }} – {% endif -%} + NHS App +{%- endblock %} {% block head %}