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
amber_compiler.go
reflect_helpers.go
template.go tplimpl: Allow text partials in HTML templates 2017-04-16 09:17:47 +02:00
template_ast_transformers.go
template_ast_transformers_test.go
template_embedded.go tplimpl: Add translation links to the default sitemap template 2017-04-22 22:37:14 +02:00
template_func_truncate.go
template_func_truncate_test.go
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
template_resources_test.go
template_test.go
templateFuncster.go tplimpl: Allow text partials in HTML templates 2017-04-16 09:17:47 +02:00
templateProvider.go