Skip to content

Commit

Permalink
node to page: Re-add translations sort of regular pages
Browse files Browse the repository at this point in the history
Was removed by mistake.

Updates #2297
  • Loading branch information
bep committed Nov 22, 2016
1 parent 6c0ecc2 commit 382582f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hugolib/translations.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit 382582f

Please sign in to comment.