hugo/tpl/tplimpl
Jack Taylor 90d3fbf1da tplimpl: Add translation links to the default sitemap template
For pages with translations, add links with hreflang attributes to the
default sitemap template. This helps Google to show the correct
language page in its search results. The syntax used is based on
Google's example at [1].

Also update the sitemap template docs to reflect the changes in the
default template.

[1]
https://support.google.com/webmasters/answer/2620865?hl=en&topic=2370587&ctx=topic

Fixes #2569
2017-04-22 22:37:14 +02:00
..
ace.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00
amber_compiler.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00
reflect_helpers.go tpl: Refactor package 2017-02-17 17:15:26 +01:00
template.go tplimpl: Allow text partials in HTML templates 2017-04-16 09:17:47 +02:00
template_ast_transformers.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00
template_ast_transformers_test.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00
template_embedded.go tplimpl: Add translation links to the default sitemap template 2017-04-22 22:37:14 +02:00
template_func_truncate.go tpl: Refactor package 2017-02-17 17:15:26 +01:00
template_func_truncate_test.go tpl: Refactor package 2017-02-17 17:15:26 +01:00
template_funcs.go tplimpl: Allow text partials in HTML templates 2017-04-16 09:17:47 +02:00
template_funcs_test.go tplimpl: Allow text partials in HTML templates 2017-04-16 09:17:47 +02:00
template_resources.go tplimpl: Fix map data race in URLLock 2017-03-31 10:40:33 +02:00
template_resources_test.go tplimpl: Fix deadlock in getJSON 2017-03-31 09:17:03 +02:00
template_test.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00
templateFuncster.go tplimpl: Allow text partials in HTML templates 2017-04-16 09:17:47 +02:00
templateProvider.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00