diff --git a/_layouts/book-shelf.liquid b/_layouts/book-shelf.liquid index 09b0ad7..f3e8277 100644 --- a/_layouts/book-shelf.liquid +++ b/_layouts/book-shelf.liquid @@ -7,12 +7,12 @@ layout: page {% assign collection = site[page.collection] %} {% if collection and collection.size > 0 %} {% for item in collection reversed %} - {% assign current_year = item.date | date: '%Y' %} + {% assign current_year = item.started | date: '%Y' %} {% if current_year != year %} {% unless forloop.first %} {% endunless %} -