mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-26 14:37:52 +02:00
Allow exclusion of tagline in page title
This commit is contained in:
parent
1edd160ceb
commit
fc4e5b05df
2 changed files with 4 additions and 2 deletions
|
@ -54,7 +54,9 @@ class Site extends React.Component {
|
|||
: this.props.config.tagline;
|
||||
const title = this.props.title
|
||||
? this.props.title + " · " + this.props.config.title
|
||||
: this.props.config.title + " · " + tagline;
|
||||
: (!this.props.config.disableTitleTagline &&
|
||||
this.props.config.title + " · " + tagline) ||
|
||||
this.props.config.title;
|
||||
const description = this.props.description || tagline;
|
||||
const url =
|
||||
this.props.config.url +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue