Jigsaw: Adding support for custom collection directories

Created on 5 Apr 2020  路  2Comments  路  Source: tighten/jigsaw

On larger projects, I can image the source folder getting quite out of hand. One way to tackle this would be adding support for custom collection directories.

For example, if I have a posts collection I could specify a sourcePath key in the collection configuration array and point it to a custom ./content/posts path where I store my Markdown or Blade files.

I can't see the implementation being too difficult, since the path is only used in a couple of places.

What do others think? If people are interested, I'll throw in a PR for this.

enhancement

Most helpful comment

Agreed. I looked into this yesterday, and it's a little bit involved ... but this is definitely worth doing.

All 2 comments

Plus one for this one. I already have a large project that I'm working on with Jigsaw and the source folder is filled and it's really hard to navigate.

Agreed. I looked into this yesterday, and it's a little bit involved ... but this is definitely worth doing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

minthemiddle picture minthemiddle  路  6Comments

Log1x picture Log1x  路  8Comments

luklus picture luklus  路  11Comments

lxqueen picture lxqueen  路  7Comments

imaje89 picture imaje89  路  3Comments