module

Marten::SEO::PageRegistry

Registry of indexable routes that drive the sitemap. Supports static entries (register) and dynamic enumerators (register_dynamic) for DB/catalog content. Process-global; call clear between specs.

Instance methods

clear
entries

Static entries first, then each dynamic enumerator evaluated fresh.

register(route_name : String, priority : Float64 = 0.5, changefreq : String = "weekly", lastmod : String | Nil = nil, params : Hash(String, String) = {} of String => String, locales : Array(String) | Nil = nil) : Nil
register_dynamic