Overview of Nanoc Rules
The Rules file contains processing instructions for all items in a Nanoc site. Nanoc uses the first matching rule found in the file for any given item or layout. There are three primary types of rules:
- Compilation rules: Define actions like filtering, layouting, and snapshotting.
- Routing rules: Define the output path where compiled items are written.
- Layouting rules: Define which filter should be used for a specific layout.