Class | Webby::Resources::Partial |
In: |
lib/webby/resources/partial.rb
|
Parent: | Resource |
A Partial is a file in the content folder whose filename starts with an underscore "_" character. Partials contain text that can be included into other pages. Partials are not standalone pages, and they will never correspond directly to an output file.
Partials can contain YAML meta-data at the top of the file. This information is only used to determine the filters to apply to the partial. If there is no meta-data, then the partial text is used "as is" without any processing by the Webby rendering engine.
ext | -> | extension |
The output file destination for the partial. This is the ".cairn" file in the output folder. It is used to determine if the partial is newer than the build products.