mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
node to page: Re-add translations sort of regular pages
Was removed by mistake. Updates #2297
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user