We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a way to append an additional value to all page titles?
For example, something like:
${helmet.title.append(` - ${process.env.APP_NAME}`).toString()}
The text was updated successfully, but these errors were encountered:
you can use titleTemplate
<Helmet defaultTitle={process.env.APP_NAME} titleTemplate={%s - ${process.env.APP_NAME} } />
%s - ${process.env.APP_NAME}
output
Sorry, something went wrong.
Yeah but I'd have to put that in every component right?
Was wondering if there was a global way to apply it to all my components.
you don't need to put in every component. you can add it on the root index.js file or routes.js file
No branches or pull requests
Is there a way to append an additional value to all page titles?
For example, something like:
The text was updated successfully, but these errors were encountered: