A Nanoc::Template represents a template, which can be used for creating new pages.
A Nanoc::Layout represents a layout in a nanoc site. It has content, attributes (for determining which filter to use for laying out a page), a path (because layouts are organised hierarchically), and a modification time (to speed up compilation).
Pages don‘t necessary have to be created using templates, but they can be useful for generating pages where you only have to "fill in the blanks".
The filesystem data source stores its pages in nested directories. A page is represented by a single file. The root directory is the ‘content’ directory.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.