class

Hwaro::Content::Seo::Sitemap

Inherits Reference < Object

Class methods

generate(pages : Array(Models::Page), site : Models::Site, output_dir : String, verbose : Bool = false, skip_if_unchanged : Bool = false)
Source
published_outputs(config : Models::Config, output_dir : String) : Array(String)

The file the current config publishes (none when disabled) — what the builder claims whether generate wrote it or skipped it as unchanged, so a warm --cache build or a serve rebuild removes a sitemap an earlier config published (disabled, or renamed).

Source