Does anyone know why nunjucks conditionals don't work when there's a dash? Code example:
{% for post in collections.story-1 %}
<li><a href="{{ post.url }}">{{ post.data.title }}</a></li>
{% endfor %}
Because when I wrote this instead of looking for markdown files with the "story-1" tag like expected nothing loads. (There's no terminal errors either.)
1st screenshot is how I want it to look, 2nd screenshot is what shows up.