Application::HTML
Inherits Helpers::Routes < Frost::HTML < Frost::DOM < Frost::View < Struct < Value < Object
Instance methods
asset_path(path : String) : String
Returns the absolute path to a static asset.
TODO: if a manifest exists, use it to map path/file.ext to /assets/path/file-digest.ext
TODO: memoize the manifest (unless development?)
badge(contents : String, type : BadgeType, **attrs) : Nil
Sourcebadge(type : BadgeType, **attrs, &) : Nil
Source