diff --git a/lib/core/Head.js b/lib/core/Head.js index 030253a2e2..db37640b6f 100644 --- a/lib/core/Head.js +++ b/lib/core/Head.js @@ -18,7 +18,7 @@ class Head extends React.Component { let sourceCodeButton = this.props.config.sourceCodeButton; // defaults to github, but other values may be allowed in the future let includeGithubButton = - sourceCodeButton === 'github' || sourceCodeButton == null; + sourceCodeButton === "github" || sourceCodeButton == null; return ( @@ -36,6 +36,12 @@ class Head extends React.Component { content={this.props.config.baseUrl + this.props.config.ogImage} /> )} + {this.props.redirect && ( + )} - {includeGithubButton && + {includeGithubButton && (