jekyll Collections Looping Through All Items in a Collection

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

Given an 'albums' collection, you can loop through and output each item:

{% for album in site.albums %}
    {{ album.content }}
{% endfor %}

Any custom front matter variables are also available within the loop.

{% for album in site.albums %}
    {{ album.title }}
    {{ album.content }}
{% endfor %} 


Got any jekyll Question?