Hwaro::Models::ContentFilesConfig
Inherits Reference / Object
Content file publishing configuration
Allows copying non-Markdown files from content/ to the output directory
(e.g. content/about/profile.jpg -> /about/profile.jpg).
Constructors
new
SourceClass methods
normalize_extensions(values : Array(String)) : Array(String)
Sourcenormalize_path(path : String) : String
Sourcenormalize_paths(values : Array(String)) : Array(String)
SourceInstance methods
allow_extensions
Sourceallow_extensions=(allow_extensions : Array(String))
Sourcedisallow_extensions
Sourcedisallow_extensions=(disallow_extensions : Array(String))
Sourcedisallow_paths
Sourcedisallow_paths=(disallow_paths : Array(String))
Sourceenabled?
Sourcepublish?(relative_path : String) : Bool
Source