mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-02 23:30:00 +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
|
@ -69,5 +69,7 @@ func assignTranslationsToPages(allTranslations map[string]Translations, pages []
|
|||
for _, translatedPage := range trans {
|
||||
page.translations = append(page.translations, translatedPage)
|
||||
}
|
||||
|
||||
pageBy(languagePageSort).Sort(page.translations)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue