1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
Files
gohugoio-hugo/hugolib
Bjørn Erik Pedersen 6b76841b05 output: Fix permalink in sitemap etc. when multiple permalinkable output formats
In Hugo 0.55.0 we made AMP `permalinkable`. We also render the output formats in their natural sort order, meaning `AMP` will be rendered before `HTML`. References in the sitemap would then point to the AMP version, and this is normally not what you'd want.

This commit fixes that by making `HTML` by default sort before the others.

If this is not you want, you can set `weight` on the output format configuration.

Fixes #5910
2019-05-02 14:23:16 +02:00
..
2018-03-18 09:54:32 +01:00
2019-04-02 10:32:47 +02:00
2019-03-23 18:51:22 +01:00
2018-12-11 13:08:36 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-25 08:29:29 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-04-05 10:21:25 +02:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-04-08 11:02:12 +02:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2018-03-18 09:54:32 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00
2019-03-23 18:51:22 +01:00