Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional pageTitle property to prefix document.title #203

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

lennym
Copy link
Contributor

@lennym lennym commented Sep 17, 2020

If a page sets res.locals.pageTitle then it will prefix the default title "Research and testing using animals" with wahtever value is set.

If a page sets `res.locals.pageTitle` then it will prefix the default title "Research and testing using animals" with wahtever value is set.
@wheelsandcogs wheelsandcogs merged commit e162b64 into master Sep 17, 2020
@wheelsandcogs wheelsandcogs deleted the feature/custom-title-prefix branch September 17, 2020 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants