hugo/hugolib
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 #3360
2017-07-04 09:12:44 +02:00
..
testdata
404_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
alias.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
alias_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
author.go
case_insensitive_test.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
config.go hugolib: Add disableAliases 2017-06-20 11:03:34 +02:00
config_test.go
datafiles_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
disableKinds_test.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
embedded_shortcodes_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
gitinfo.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
handler_base.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
handler_file.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
handler_meta.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
handler_page.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
handler_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
hugo_info.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
hugo_sites.go Support open "current content page" in browser 2017-06-26 21:34:16 +02:00
hugo_sites_build.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
hugo_sites_build_test.go output: Support templates per site/language 2017-07-04 09:12:44 +02:00
media.go
menu.go
menu_old_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
menu_test.go
multilingual.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
node_as_page_test.go all: Update textual references in Go source to point to gohugoio/hugo 2017-06-13 18:47:17 +02:00
page.go output: Support templates per site/language 2017-07-04 09:12:44 +02:00
page_collections.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
page_collections_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
page_output.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
page_paths.go media, hugolib: Support extension-less media types 2017-06-20 11:04:14 +02:00
page_paths_test.go media, hugolib: Support extension-less media types 2017-06-20 11:04:14 +02:00
page_permalink_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
page_taxonomy_test.go
page_test.go hugolib: Add more summary test 2017-06-28 20:30:26 +02:00
page_time_integration_test.go all: Update textual references in Go source to point to gohugoio/hugo 2017-06-13 18:47:17 +02:00
pageCache.go
pageCache_test.go
pageGroup.go
pageGroup_test.go
pageSort.go
pageSort_test.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
pagination_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
path_separators_test.go
permalinker.go
permalinks.go hugolib: Extend the sections API 2017-07-04 09:11:49 +02:00
permalinks_test.go
robotstxt_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
rss_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
scratch.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
scratch_test.go
shortcode.go output: Support templates per site/language 2017-07-04 09:12:44 +02:00
shortcode_test.go output: Support templates per site/language 2017-07-04 09:12:44 +02:00
shortcodeparser.go
shortcodeparser_test.go
site.go hugolib: Add disableAliases 2017-06-20 11:03:34 +02:00
site_benchmark_test.go hugolib: Add some more tags to benchmark 2017-06-02 18:40:10 +02:00
site_output.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
site_output_test.go media, hugolib: Support extension-less media types 2017-06-20 11:04:14 +02:00
site_render.go hugolib: Render 404.html for all languages 2017-07-01 22:58:52 +02:00
site_sections.go hugolib: Extend the sections API 2017-07-04 09:11:49 +02:00
site_sections_test.go hugolib: Extend the sections API 2017-07-04 09:11:49 +02:00
site_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
site_url_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
siteJSONEncode_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
sitemap.go
sitemap_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
taxonomy.go hubolib: Embed Page in WeightedPage 2017-05-09 23:58:25 +02:00
taxonomy_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
template_engines_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
template_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
testhelpers_test.go hugolib: Disable shaky leaktest on CI 2017-06-13 21:22:47 +02:00
translations.go all: Update textual references in Go source to point to gohugoio/hugo 2017-06-13 18:47:17 +02:00