mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 16:47:26 +02:00
Add missing i18n support in header link (#477)
* Add missing i18n support in header link * Format file with prettier
This commit is contained in:
parent
4ff2fe280e
commit
f8486e02ae
1 changed files with 5 additions and 1 deletions
|
@ -193,7 +193,11 @@ class HeaderNav extends React.Component {
|
||||||
<div className="fixedHeaderContainer">
|
<div className="fixedHeaderContainer">
|
||||||
<div className="headerWrapper wrapper">
|
<div className="headerWrapper wrapper">
|
||||||
<header>
|
<header>
|
||||||
<a href={this.props.baseUrl}>
|
<a
|
||||||
|
href={
|
||||||
|
this.props.baseUrl +
|
||||||
|
(env.translation.enabled ? this.props.language : '')
|
||||||
|
}>
|
||||||
{siteConfig.headerIcon && (
|
{siteConfig.headerIcon && (
|
||||||
<img
|
<img
|
||||||
className="logo"
|
className="logo"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue