This restores the default behavior of Django/Wagtail.
I originally set WAGTAIL_APPEND_SLASH = False because I thought the trailing slashes looked ugly in conjunction with the header permalinks added in 88d6e41. e.g.
However, I think this is a relatively minor aesthetic issue, and I think it is more important that URLs behave according to the "principle of least astonishment". This PR reverts to the less-astonishing default behavior, wherein every Django/Wagtail page canonically has a trailing slash, and Django/Wagtail automatically redirects URLs without a trailing slash.
This restores the default behavior of Django/Wagtail.
I originally set
WAGTAIL_APPEND_SLASH = False
because I thought the trailing slashes looked ugly in conjunction with the header permalinks added in 88d6e41. e.g.https://securethe.news/why/#higher-search-rankings
https://securethe.news/why#higher-search-rankings
However, I think this is a relatively minor aesthetic issue, and I think it is more important that URLs behave according to the "principle of least astonishment". This PR reverts to the less-astonishing default behavior, wherein every Django/Wagtail page canonically has a trailing slash, and Django/Wagtail automatically redirects URLs without a trailing slash.