getgrav/grav-plugin-sitemap

Invalid root element, missing trailing slash

NicoHood opened this issue · 2 comments

See getgrav/grav#3127

Tl;dr: The homepage should be https://homepage.com/, but currently is https://homepage.com.
This should be fixed in Grav, but the plugin is affected.

Temporary workaround:

# TODO workaround for https://github.com/getgrav/grav-plugin-sitemap/issues/87
ignores:
  - '/'
additions:
  -
    location: /
    lastmod: '2021-01-06'
    changefreq: daily
    priority: 1.0

as you say this is a grav issue, we're just using canonical() in sitemap.