mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 12:14:49 +00:00
node to page: Re-add translations sort of regular pages
Was removed by mistake. Updates #2297
This commit is contained in:
1 parent
6c0ecc2d28
commit
382582fcda
1 file changed
+2
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user