1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-26 14:23:01 +00:00
hugo/output
Bjørn Erik Pedersen aa6b1b9be7 output: Support templates per site/language
This applies to both regular templates and shortcodes. So, if the site language is French and the output format is AMP, this is the (start) of the lookup order for the home page:

1. index.fr.amp.html
2. index.amp.html
3. index.fr.html
4. index.html
5. ...

Fixes 
2017-07-04 09:12:44 +02:00
..
docshelper.go output: Support templates per site/language 2017-07-04 09:12:44 +02:00
layout.go output: Support templates per site/language 2017-07-04 09:12:44 +02:00
layout_base.go
layout_base_test.go
layout_test.go output: Support templates per site/language 2017-07-04 09:12:44 +02:00
outputFormat.go
outputFormat_test.go