We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfed3b0 commit 2bbc8adCopy full SHA for 2bbc8ad
_layouts/book-shelf.liquid
@@ -7,12 +7,12 @@ layout: page
7
{% assign collection = site[page.collection] %}
8
{% if collection and collection.size > 0 %}
9
{% for item in collection reversed %}
10
- {% assign current_year = item.date | date: '%Y' %}
+ {% assign current_year = item.started | date: '%Y' %}
11
{% if current_year != year %}
12
{% unless forloop.first %}
13
</ul>
14
{% endunless %}
15
- <h1 id="y{{item.date | date: "%Y"}}">
+ <h1 id="y{{item.started | date: "%Y"}}">
16
<a href="{{ current_year | prepend: '/books/' | relative_url }}">{{ current_year }}</a>
17
</h1>
18
<ul>
0 commit comments