hugo/tpl/lang
Bjørn Erik Pedersen ffaec4ca8c
Add a way to merge pages by language
As an example:

```html
{{ $pages := .Site.RegularPages | lang.Merge $frSite.RegularPages | lang.Merge $enSite.RegularPages }}
```

Will "fill in the gaps" in the current site with, from left to right, content from the French site, and lastly the English.

Fixes #4463
2018-03-16 10:10:01 +01:00
..
init.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
init_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
lang.go Add a way to merge pages by language 2018-03-16 10:10:01 +01:00
lang_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00