mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
Add language to the version part
just like we did with the language part otherwise we get `-version-....` ids with no prefixes
This commit is contained in:
parent
a5e963dba1
commit
ff117979c6
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ class HeaderNav extends React.Component {
|
|||
: '';
|
||||
const versionPart =
|
||||
env.versioning.enabled && this.props.version !== 'next'
|
||||
? '-version-' +
|
||||
? (this.props.language || 'en') +
|
||||
'-version-' +
|
||||
(this.props.version || env.versioning.latestVersion) +
|
||||
'-'
|
||||
: '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue