Skip to content

Instantly share code, notes, and snippets.

Hardly working

timothy dancingmonkey

Hardly working
View GitHub Profile
dancingmonkey / for-loop-collections.html
Created Jul 24, 2020
for loop collections sorted by dat
View for-loop-collections.html
{% comment %}
* This loop loops through a collection called `collection_name`
* and sorts it by the front matter variable `date` and than filters
* the collection with `reverse` in reverse order
* To make it work you first have to assign the data to a new string
* called `sorted`.
{% endcomment %}