Somehow i can only add files to my collection by setting the metadata collection in the file.
I can not select any files with the pattern attribute like following:
"metalsmith-collections": {
"articles": {
"pattern": "*.md"
}
}
or
"metalsmith-collections": {
"articles": "*.md"
}
This will only give me an empty collection in the template