Setting defaults for Jekyll collections
<p>For some reason I am unable to set defaults for my Jekyll collections. I <em>think</em> I have followed the <a href="https://jekyllrb.com/docs/configuration/#front-matter-defaults" rel="nofollow noreferrer">documentation</a> correctly but even setting a default <code>layout</code> is alluding me..</p>

<p>Here's what I got:</p>

<pre><code>collections:
  work:
    output: true
    permalink: /work/:path/

defaults:
  -
    scope:
      path: ""
      type: "posts"
    values:
      layout: "post"
  -
    scope:
      path: "work"
      type: "pages"
    values:
      layout: "work"
</code></pre>

<p>My blog post markdown files are in <code>/_posts</code> and my work (collection) markdown files are in <code>/_work</code>. In the example above, I want all work items to use the <code>work</code> collection. How is this not working?</p>

<p>By the way, I am using Jekyll 3.3.1.</p>