Allow exclusion of tagline in page title

This commit is contained in:
Frank Li 2017-07-21 12:24:43 -07:00
parent 1edd160ceb
commit fc4e5b05df
2 changed files with 4 additions and 2 deletions

View file

@ -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 +