This commit is contained in:
parent
06ddf5210c
commit
bfe83d284c
|
|
@ -3,9 +3,7 @@
|
||||||
{{ $pages := $glossaryBundle.Resources.ByType "page" }}
|
{{ $pages := $glossaryBundle.Resources.ByType "page" }}
|
||||||
{{- range site.Params.language_alternatives -}}
|
{{- range site.Params.language_alternatives -}}
|
||||||
{{- with (where $glossaryBundle.Translations ".Lang" . ) -}}
|
{{- with (where $glossaryBundle.Translations ".Lang" . ) -}}
|
||||||
{{ $p := (index . 0) }}
|
{{ $p := (index . 0) }}{{ $pages = $pages | lang.Merge ($p.Resources.ByType "page") }}{{ end }}
|
||||||
{{ $pages = $pages | lang.Merge ($p.Resources.ByType "page") }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- $.Scratch.Set "glossary_items" $pages -}}
|
{{- $.Scratch.Set "glossary_items" $pages -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue