A generated output route.
Routes are produced by plugins for files that are not ordinary pages, such as feeds, sitemaps, tag indexes, and pagination pages.
Summary
Functions
Return true when a request path matches a route path with or without a trailing slash.
Build a generated route and resolve its output path under the site outdir.
Normalize a route path for matching.
Return the output-relative path for a route.
Resolve a route's output path under the site outdir when it is not set.
Types
Functions
Return true when a request path matches a route path with or without a trailing slash.
@spec new(String.t(), Astral.Config.t(), keyword()) :: t()
Build a generated route and resolve its output path under the site outdir.
Normalize a route path for matching.
Return the output-relative path for a route.
@spec with_output_path(t(), Astral.Config.t()) :: t()
Resolve a route's output path under the site outdir when it is not set.