iris.WithSitemap
Configurator. This function accepts the full scheme and domain of the exposed application.<loc>
XML element will be filled unless the route's fields LastMod
, ChangeFreq
or/and Priority
* are set.A static route is exposed on GET HTTP Method and its path does not contain a dynamic parameter. e.g. /home, /about but not /user/{id:uint64} and e.t.c.
iris.WithSitemap
will add xhtml:link
XML elements to the sitemap file for each translation language as recommended at: https://support.google.com/webmasters/answer/189077?hl=en. Read more about it at the Localization section.