Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed github-pages warning about singular default types #2919

Merged
merged 1 commit into from
Sep 13, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions site/_docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,16 +312,6 @@ 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.

<div class="note warning">
<h5>GitHub Pages uses singular types</h5>
<p>
When specifying the <code>type</code> (see above), be sure to use the
<em>singular</em> form if you're deploying to GitHub Pages. Pages is
still running Jekyll 2.2.0, which uses the singular forms, so use either
<code>page</code> or <code>post</code> for <code>type</code>.
</p>
</div>

As mentioned earlier, you can set multiple scope/values pairs for `defaults`.

{% highlight yaml %}
Expand Down