mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 23:27:28 +02:00
Add config option to allow disabled header title
This commit is contained in:
parent
523d824651
commit
704897fd61
2 changed files with 5 additions and 3 deletions
|
@ -113,9 +113,10 @@ class HeaderNav extends React.Component {
|
|||
<header>
|
||||
<a href={this.props.baseUrl}>
|
||||
<img src={this.props.baseUrl + siteConfig.headerIcon} />
|
||||
<h2>
|
||||
{this.props.title}
|
||||
</h2>
|
||||
{!this.props.config.disableHeaderTitle &&
|
||||
<h2>
|
||||
{this.props.title}
|
||||
</h2>}
|
||||
</a>
|
||||
{this.renderResponsiveNav()}
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue