diff --git a/site/_docs/configuration.md b/site/_docs/configuration.md index f9b29cdd..20581b9b 100644 --- a/site/_docs/configuration.md +++ b/site/_docs/configuration.md @@ -304,7 +304,7 @@ defaults: - scope: path: "" # an empty string here means all files in the project - type: "posts" + type: "posts" # previously `post` in Jekyll 2.2. values: layout: "default" {% endhighlight %} @@ -312,6 +312,16 @@ defaults: Now, this will only set the layout for files where the type is `posts`. The different types that are available to you are `pages`, `posts`, `drafts` or any collection in your site. While `type` is optional, you must specify a value for `path` when creating a `scope/values` pair. +
+ When specifying the type
(see above), be sure to use the
+ singular form if you're deploying to GitHub Pages. Pages is
+ still running Jekyll 2.2.0, which uses the singular forms, so use either
+ page
or post
for type
.
+