hugo/tpl
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
..
cast
collections tpl/collections: Seed random on init only 2018-01-27 18:51:12 +01:00
compare Properly handle -DEV suffix when comparing Hugo versions 2018-02-22 17:16:42 +01:00
crypto
data
encoding
fmt
images
inflect
internal
lang Add a way to merge pages by language 2018-03-16 10:10:01 +01:00
math
os
partials
safe
strings
time
tplimpl Make ge, le etc. work with the Hugo Version number 2018-02-22 09:15:12 +01:00
transform tpl/transform: Add template func for TOML/JSON/YAML docs examples conversion 2018-02-10 12:36:31 +01:00
urls
template.go