defaults:
- scope:
path: "_recipes"
values:
layout: "recipe"
path: "_subrecipes"
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