Skip to main content

sitemap_xml

Function sitemap_xml 

Source
pub fn sitemap_xml(config: &SiteConfig, pages: &[SeoPage]) -> String
Expand description

sitemap.xml: one <url> per page, sorted by route; lastmod only when the page declares a date (deterministic builds do not lie about modification times).