Giter Club home page Giter Club logo

metalsmith-auto-collections's Introduction

lowmess.com

Installing

git clone https://github.com/lowmess/lowmess.git
cd lowmess
npm i

Building

npm run build

Developing

npm run start

metalsmith-auto-collections's People

Contributors

dependabot[bot] avatar lowmess avatar wieke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

metalsmith-auto-collections's Issues

Collection error

When simply using

ms.use(collect())

I get:

TypeError: Cannot read property 'pattern' of undefined
    at auto_collect (/home/haozeke/Github/Pandoc/Grimoire/node_modules/metalsmith-auto-collections/index.js:8:23)
    at metal (/home/haozeke/Github/Pandoc/Grimoire/gulpfile.babel.js:111:9)
    at taskWrapper (/home/haozeke/Github/Pandoc/Grimoire/node_modules/undertaker/lib/set-task.js:13:15)
    at bound (domain.js:301:14)
    at runBound (domain.js:314:12)
    at asyncRunner (/home/haozeke/Github/Pandoc/Grimoire/node_modules/async-done/index.js:39:18)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)
    at Function.Module.runMain (module.js:655:11)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

Some of my files are not in subfolders..

Migrated dependency: metalsmith-collections

metalsmith-auto-collections currently depends on metalsmith-collections@^0.9.0, but it has been moved to @metalsmith/collections with Kevin Van Lierde's recent stewardship. The old metalsmith-collections isn't receiving updates anymore.

Nested Folder Collections

For nested folders I notice that the present behavior sets the full path, ie. given

  • Articles
    --------------- Test

I get the files in Test to be of collection Articles/Test

Is this the expected behavior? The docs mention getting the parent directory, so maybe it ought to return Test?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.