Skip to content

Commit

Permalink
Fix versions page to point to correct language (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey authored and JoelMarcey committed Jun 8, 2018
1 parent 46661c8 commit c000aca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/pages/en/versions.js
Expand Up @@ -33,7 +33,7 @@ class Versions extends React.Component {
<tr>
<th>{latestVersion}</th>
<td>
<a href={`${siteConfig.baseUrl}docs/en/installation`}>Documentation</a>
<a href={`${siteConfig.baseUrl}docs/${this.props.language}/installation`}>Documentation</a>
</td>
<td>
<a href={`https://github.com/facebook/Docusaurus/releases/tag/v${latestVersion}`}>Release Notes</a>
Expand All @@ -51,7 +51,7 @@ class Versions extends React.Component {
<a
href={`${
siteConfig.baseUrl
}docs/en/next/installation`}
}docs/${this.props.language}/next/installation`}
>
Documentation
</a>
Expand All @@ -75,7 +75,7 @@ class Versions extends React.Component {
<a
href={`${
siteConfig.baseUrl
}docs/en/${version}/installation`}
}docs/${this.props.language}/${version}/installation`}
>
Documentation
</a>
Expand Down

0 comments on commit c000aca

Please sign in to comment.