class

Hwaro::Content::Seo::Pwa

Inherits Reference < Object

Constants

MEASURABLE_ICON_EXTS = {".png", ".jpg", ".jpeg", ".bmp", ".gif", ".webp"}

Extensions whose intrinsic size can be read from the file header.

Class methods

generate(site : Models::Site, output_dir : String, verbose : Bool = false, localize : String -> String | Nil | Nil = nil)

localize maps an external precache URL to its [privacy] local copy (nil = keep it external).

Source
published_outputs(config : Models::Config, output_dir : String) : Array(String)

The files generate writes under the current config (none when disabled).

Source