From 2bbc8ad5446274612ba704c0d92523e42beffc68 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Thu, 15 Jan 2026 10:53:02 -0300 Subject: [PATCH] Fixed dates in book-shelf (#3446) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #3443. Signed-off-by: George Araújo --- _layouts/book-shelf.liquid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %} -

+

{{ current_year }}