|
| 1 | +# A list of file extensions that nanoc will consider to be textual rather than |
| 2 | +# binary. If an item with an extension not in this list is found, the file |
| 3 | +# will be considered as binary. |
| 4 | +text_extensions: [ 'css', 'erb', 'haml', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'php', 'rb', 'sass', 'scss', 'txt', 'xhtml', 'xml' ] |
| 5 | + |
| 6 | +# The path to the directory where all generated files will be written to. This |
| 7 | +# can be an absolute path starting with a slash, but it can also be path |
| 8 | +# relative to the site directory. |
| 9 | +output_dir: output |
| 10 | + |
| 11 | +# A list of index filenames, i.e. names of files that will be served by a web |
| 12 | +# server when a directory is requested. Usually, index files are named |
| 13 | +# “index.hml”, but depending on the web server, this may be something else, |
| 14 | +# such as “default.htm”. This list is used by nanoc to generate pretty URLs. |
| 15 | +index_filenames: [ 'index.html' ] |
| 16 | + |
| 17 | +# Whether or not to generate a diff of the compiled content when compiling a |
| 18 | +# site. The diff will contain the differences between the compiled content |
| 19 | +# before and after the last site compilation. |
| 20 | +enable_output_diff: false |
| 21 | + |
| 22 | +# The data sources where nanoc loads its data from. This is an array of |
| 23 | +# hashes; each array element represents a single data source. By default, |
| 24 | +# there is only a single data source that reads data from the “content/” and |
| 25 | +# “layout/” directories in the site directory. |
| 26 | +data_sources: |
| 27 | + - |
| 28 | + # The type is the identifier of the data source. By default, this will be |
| 29 | + # `filesystem_unified`. |
| 30 | + type: filesystem_unified |
| 31 | + |
| 32 | + # The path where items should be mounted (comparable to mount points in |
| 33 | + # Unix-like systems). This is “/” by default, meaning that items will have |
| 34 | + # “/” prefixed to their identifiers. If the items root were “/en/” |
| 35 | + # instead, an item at content/about.html would have an identifier of |
| 36 | + # “/en/about/” instead of just “/about/”. |
| 37 | + items_root: / |
| 38 | + |
| 39 | + # The path where layouts should be mounted. The layouts root behaves the |
| 40 | + # same as the items root, but applies to layouts rather than items. |
| 41 | + layouts_root: / |
0 commit comments