metalsmith / collections

A Metalsmith plugin that groups files together into collections, which it adds to the global metadata.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[TypeError: col.sort is not a function]

ninjasort opened this issue · comments

I keep getting this error when trying to run a build:

Path looks like: src/_projects/project.md

Build looks like:

.use(collections({
    projects: {
      pattern: "_projects/*.md"
    },
    posts: {
      pattern: "_posts/*.md"
    }
  }))