Marten::SEO
Constants
VERSION = "0.1.2"
Class methods
alternate_urls(route_name : String, params : Hash(String, String), base_url : String | Nil = nil) : Hash(String, String)
:ditto: — Hash form, used by the sitemap where param keys are dynamic.
Returns locale => absolute URL for a named route across all available
locales — for hreflang link tags, the sitemap, and language switchers.
base_url defaults to the configured Marten::SEO.config.base_url.
config
config=(config : Config) : Config
configure