Wytch::SitemapView

Generates an XML sitemap for the site.

Description

Generates an XML sitemap for the site.

This view renders a sitemap.xml file listing all pages that have include_in_sitemap? returning true.

Methods

def call

Renders the sitemap XML.

Returns:
(String) — XML sitemap content