Skip to content

Commit

Permalink
Add missing i18n support in header link (#477)
Browse files Browse the repository at this point in the history
* Add missing i18n support in header link

* Format file with prettier
  • Loading branch information
cheercroaker authored and JoelMarcey committed Mar 4, 2018
1 parent 4ff2fe2 commit f8486e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/core/nav/HeaderNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,11 @@ class HeaderNav extends React.Component {
<div className="fixedHeaderContainer">
<div className="headerWrapper wrapper">
<header>
<a href={this.props.baseUrl}>
<a
href={
this.props.baseUrl +
(env.translation.enabled ? this.props.language : '')
}>
{siteConfig.headerIcon && (
<img
className="logo"
Expand Down

0 comments on commit f8486e0

Please sign in to comment.