Last active
May 23, 2016 21:49
-
-
Save sskylar/4a782de7c8d080cf5db6 to your computer and use it in GitHub Desktop.
Apply defaults to documents in a Jekyll collection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults: | |
- | |
scope: | |
path: "" # an empty string here means all files | |
type: "my_collection" # applies defaults only to documents in this collection (e.g. "posts") | |
values: | |
layout: "default" | |
foo: "bar" # any metadata fields can go here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment