hugo/tpl
Bjørn Erik Pedersen 54141f71dd Improve language handling in URLs
The current "rendering language" is needed outside of Site. This commit moves the Language type to the helpers package, and then used to get correct correct language configuration in the markdownify template func.
This commit also adds two new template funcs: relLangURL and absLangURL.

See #2309
2016-09-06 18:32:18 +03:00
..
reflect_helpers.go Make where accept slice 2016-03-06 13:15:07 +01:00
template.go Optimize the multilanguage build process 2016-09-06 18:32:16 +03:00
template_embedded.go Add sitemap index for multilingual sites 2016-09-06 18:32:17 +03:00
template_funcs.go Improve language handling in URLs 2016-09-06 18:32:18 +03:00
template_funcs_test.go Improve language handling in URLs 2016-09-06 18:32:18 +03:00
template_i18n.go Add Translations and AllTranslations to Node 2016-09-06 18:32:16 +03:00
template_resources.go Use the Afero source fs where relevant 2016-07-30 15:37:03 +02:00
template_resources_test.go tpl: Do not write to cache when ignoring cache 2016-04-14 10:48:26 +02:00
template_test.go Add readFile template func 2016-03-31 21:24:18 +02:00