Add custom sitemap

Ok, this is a template - not a config :wink:

You must tell hugo to generate a second sitemap like this

[outputFormats.SITEMAP2]
    MediaType              = "application/xml"
    BaseName               = "sitemap2"
    IsHTML                 = false
    IsPlainText            = true
    Rel                    = "sitemap"

[outputs]
    home                   = [ "HTML", "SITEMAP", "SITEMAP2"]
2 Likes