mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 12:41:06 +00:00
node to page: Re-add translations sort of regular pages
Was removed by mistake. Updates #2297
This commit is contained in:
parent
6c0ecc2d28
commit
382582fcda
1 changed files with 2 additions and 0 deletions
|
@ -69,5 +69,7 @@ func assignTranslationsToPages(allTranslations map[string]Translations, pages []
|
||||||
for _, translatedPage := range trans {
|
for _, translatedPage := range trans {
|
||||||
page.translations = append(page.translations, translatedPage)
|
page.translations = append(page.translations, translatedPage)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pageBy(languagePageSort).Sort(page.translations)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue