UKHomeOfficeForms / hof

Bootstrap a HOF project
MIT License
15 stars 17 forks source link

Fix: Upgrade to hof-middleware 2.0.0, set the error locals startLink to the baseUrl or `/` if there is no baseUrl. This is used in the error template #150

Closed sulthan-ahmed closed 7 years ago

sulthan-ahmed commented 7 years ago

The error template is found in hof-template-partials. This has also been upgraded to 4.0.0: remove / from startlink of the template, it'll be passed in by locals from hof-middleware. Note: hof-template-partials is a dependency of hof-theme-govuk NOT hof. There is a PR related this in hof-theme-govuk https://github.com/UKHomeOfficeForms/hof-theme-govuk/pull/4