Class Webby::Resources::Static
In: lib/webby/resources/static.rb
Parent: Resource

A Static resource is any file in the content folder that does not contain YAML meta-data at the top of the file and does not start with and underscore "_" character (those are partials). Static resources will be copied as-is from the content directory to the output directory.

Methods

dirty?   render  

Public Instance methods

Returns true if this static file is newer than its corresponding output product. The static file needs to be copied to the output directory.

Returns the contents of the file.

[Validate]