mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 13:31:33 +00:00
90d3fbf1da
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 |
||
---|---|---|
.. | ||
ace.go | ||
amber_compiler.go | ||
reflect_helpers.go | ||
template.go | ||
template_ast_transformers.go | ||
template_ast_transformers_test.go | ||
template_embedded.go | ||
template_func_truncate.go | ||
template_func_truncate_test.go | ||
template_funcs.go | ||
template_funcs_test.go | ||
template_resources.go | ||
template_resources_test.go | ||
template_test.go | ||
templateFuncster.go | ||
templateProvider.go |