class

Marten::SEO::Config

Inherits Reference < Object

Process-wide SEO defaults, configured once at boot via Marten::SEO.configure. Per-page values set on a PageMeta in handlers override these.

Instance methods

base_url

Absolute origin (scheme + host, no trailing slash) used to build sitemap and hreflang URLs. When empty, handlers fall back to the request origin.

base_url=(value : String) : String
default_og_image
default_og_image=(default_og_image : String | Nil)
default_robots
default_robots=(default_robots : String)
robots_allow
robots_allow=(robots_allow : Array(String))
robots_disallow
robots_disallow=(robots_disallow : Array(String))
robots_user_agent
robots_user_agent=(robots_user_agent : String)
site_name
site_name=(site_name : String)