Collection Issue - Error in Collection File

Hello,

I’m getting the following error message:

> bundle exec jekyll serve
Configuration file: D:/code/kko-collection/kko_web/_config.yml
jekyll 3.7.4 | Error:  no implicit conversion of String into Hash

As this happens I assume I have an issue with the _config.yml:

name: Sitename
collections:
  concerts

With the following project structure:

.
├── _concerts
│   ├── 2019-07-31-Junge_Solisten_2019.md
│   └── Junge_Solisten_2018.md
├── _layouts
│   ├── default.html
│   └── post.html
├── _config.yml
├── datenschutz.md
├── Gemfile
├── Gemfile.lock
├── test.html
└── ueber-uns.html

Without the collections part in the config it works totally fine.

How can I fix this issue?

try:

collections:
  - concerts

I think the dash may be needed but not sure.

It seems that it is needed. but the docs state it otherwise.

@wulfheart Where in the docs does it say that the dash isn’t necessary…?

Sorry, I was misled by this paragraph:

## Setup[Permalink](https://jekyllrb.com/docs/collections/#setup)

To use a Collection you first need to define it in your `_config.yml` . For example here’s a collection of staff members:

```
collections:
  - staff_members
```

You can optionally specify metadata for your collection in the configuration:

```
collections:
  staff_members:
    people: true
```