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

Support a defaultTitle config option #598

Merged
merged 8 commits into from
Jan 29, 2021
Merged

Conversation

trevorblades
Copy link
Contributor

This change causes a <title> tag to be rendered if no config.title is provided but a config.defaultTitle is. It skips the templating step and renders the defaultTitle as is.

Fixes #366

This change causes a `<title>` tag to be rendered if no `config.title` is provided but a `config.defaultTitle` is. It skips the templating step and renders the `defaultTitle` as is.
@trevorblades trevorblades mentioned this pull request Nov 27, 2020
@garmeeh
Copy link
Owner

garmeeh commented Jan 28, 2021

Code looks good @trevorblades thanks for the contribution👌 Would you be able to add to the documentation and I will get this merged and released.

@trevorblades
Copy link
Contributor Author

Done @garmeeh 👍

@garmeeh
Copy link
Owner

garmeeh commented Jan 29, 2021

@all-contributors add @trevorblades doc code test

@allcontributors
Copy link
Contributor

@garmeeh

I've put up a pull request to add @trevorblades! 🎉

Copy link
Owner

@garmeeh garmeeh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brilliant! Thanks for the contribution 🙌

@garmeeh garmeeh merged commit 69bbbd5 into garmeeh:master Jan 29, 2021
@trevorblades trevorblades deleted the patch-1 branch January 31, 2021 03:29
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.

Default title prop
2 participants