recipe-site/_config.yml

20 lines
481 B
YAML
Raw Normal View History

defaults:
- scope:
path: "_recipes"
values:
layout: "recipe"
- scope:
path: "_subrecipes"
values:
layout: "subrecipe"
collections:
# note: subrecipes MUST come before recipes, otherwise subrecipe.output will be empty with no error message given. thanks to https://github.com/jekyll/jekyll/issues/5371#issuecomment-247951926
subrecipes:
output: false
recipes:
output: true
permalink: "/:collection/:name"
recipes_per_page: 15