# Custom collections are empty

**URL:** <https://talk.jekyllrb.com/t/custom-collections-are-empty/6256>\
**Category:** Help\
**Created:** [July 19, 2021, 6:38pm UTC](https://talk.jekyllrb.com/t/custom-collections-are-empty/6256 "2021-07-19T18:38:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pechu317](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/pechu317/32/3352_2.png) [@Pechu317](https://talk.jekyllrb.com/u/Pechu317)\
**Post date:** [July 19, 2021, 6:38pm UTC](https://talk.jekyllrb.com/t/custom-collections-are-empty/6256/1 "2021-07-19T18:38:53Z")

</div>

I currently have a collection called “projects”, but whenever I put a file in \_projects/ it does not seem to show up in the collection. Iterating through the collection does nothing, and going to the links specified by the permalink setting for the collection just returns 404.

My directory structure looks like this:

```auto
_includes
  preview.html
_layouts
  default.html
_projects
  test.md
content
  images
    polygradient.png
index.md
blog.md
projects.md
config.yml

```

This is what \_projects/test.md looks like:

```auto
test project

```

This is what projects.md (the page that’s supposed to list all projects) looks like:

```auto
---
permalink: /projects/
---
This is where my projects are.
<div class="projects">
  {% for project in site.projects %}
    {% include preview.html %}
  {% endfor %}
</div>

<style>
  .projects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
  }
</style>

```

And this is my config.yml:

```auto
collections:
  projects:
    output: true
    permalink: /projects/:name

```

---

<div class="post-metadata">

**Author:** ![Pechu317](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/pechu317/32/3352_2.png) [@Pechu317](https://talk.jekyllrb.com/u/Pechu317)\
**Post date:** [July 20, 2021, 12:05am UTC](https://talk.jekyllrb.com/t/custom-collections-are-empty/6256/3 "2021-07-20T00:05:50Z")

</div>

nvm. as always, i missed something obvious: my config.yml was config.yml, not \_config.yml. great, two hours of pulling my hair out ended up being caused by a typo.

---

<div class="post-metadata">

**Author:** ![BillRaymond](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/billraymond/32/5963_2.png) [@BillRaymond](https://talk.jekyllrb.com/u/BillRaymond)\
**Post date:** [July 20, 2021, 12:16am UTC](https://talk.jekyllrb.com/t/custom-collections-are-empty/6256/4 "2021-07-20T00:16:25Z")

</div>

Okay, good. I was just about to ask you for a link to your GitHub repo to take a look at it. Glad it was something simple!
