I want to make an archive page with the example generator from the Jekyll documentation. The generator works fine but I don\'t know to implement the layout correctly. I am using
The correct syntax for the loop is
{% for post in site.categories[cat] %}
I figured it out myself!
The line {% for post in site.categories.cat %} can be written like: {% for post in site.categories.[page.category] %}
{% for post in site.categories.cat %}
{% for post in site.categories.[page.category] %}
It didn't know about the use of these brackets!