Collections

Collections are Jekyll’s option for organizing items you want to handle in a consistent way.

Collections can get you into trouble with regard to performance. Iterating, Filtering, etc. are happening on files not a database. Too much processing and searching will increase your total time to render the site.

Liquid

Liquid is the template language that Jekyll uses. It’s not a programming syntax, so it’s pretty verbose to do even simple things.

It was open sourced by Shopify, there are also Jekyll specific extensions.

A few common syntax conventions:


{% for %} ... {% endfor %}
{% if %} ... {% endif %}


{% assign x = 1 | plus: 1 %}
{{ x }}