mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 08:07:26 +02:00
Fix and move writeTranslations.js file to write-translations.js, move tagline property of en.json inside localized-strings
This commit is contained in:
parent
dbbfecaf62
commit
ed648074f2
3 changed files with 9 additions and 9 deletions
|
@ -48,7 +48,7 @@ class Site extends React.Component {
|
|||
*/
|
||||
|
||||
render() {
|
||||
const tagline = this.props.config[this.props.language] ? this.props.config[this.props.language].tagline : this.props.config.tagline;
|
||||
const tagline = this.props.config[this.props.language] ? this.props.config[this.props.language]["localized-strings"].tagline : this.props.config.tagline;
|
||||
const title = this.props.title
|
||||
? this.props.title + ' · ' + this.props.config.title
|
||||
: this.props.config.title + ' · ' + tagline;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue