Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirpal authored Mar 2, 2024
1 parent fdab999 commit 051ccb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h1>👋 &nbsp; Hello!</h1>
{% else %}
{% assign read_books = site.data.reading | where: "status", "read" | sort: "date-finished" %}
{% if read_books.size > 0 %}
{% assign last_book = read_books | last %}
{% assign last_book = read_books | first %}
<li class="emoji-list-item" style="--list-emoji: '📖 ';">I last read <a href="/reading" style="color: var(--now-reading-color);"><cite>{{last_book.title}}</cite></a> by {{last_book.author}}</li>
{% endif %}
{% endif %}
Expand Down

0 comments on commit 051ccb5

Please sign in to comment.