mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
committed by
Bjørn Erik Pedersen
parent
59af05cabc
commit
37ab1cf12a
@@ -21,7 +21,7 @@ func pagesToTranslationsMap(sites []*Site) map[string]page.Pages {
|
||||
out := make(map[string]page.Pages)
|
||||
|
||||
for _, s := range sites {
|
||||
s.pageMap.pageTrees.Walk(func(ss string, n *contentNode) bool {
|
||||
s.pageMap.pageTrees.WalkLinkable(func(ss string, n *contentNode) bool {
|
||||
p := n.p
|
||||
// TranslationKey is implemented for all page types.
|
||||
base := p.TranslationKey()
|
||||
|
Reference in New Issue
Block a user