Skip to content

Commit

Permalink
/reading fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brookback committed Apr 18, 2024
1 parent f97b117 commit 9b6ac45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/_data/books.yml
Original file line number Diff line number Diff line change
Expand Up @@ -749,8 +749,9 @@
slug: nattens-skola
finished: true
finishedAt: 2024-04-18
location: Stockholm, Sweden
notes: |
I liked "Nattens Skola", and I got quite immersed in it.
I liked "Nattens Skola", and became quite immersed in it.
This is the fourth installment of Knausgård's "Morgonstjärnan" series. It's hard to say if it's a different universe from the other three books. The style is what Knausgård does best, but "Nattens Skola" contains more twists and turns than usual, and the main character is not that sympathetic at all. This is spelled out in the text quite early as well.
Expand Down
8 changes: 4 additions & 4 deletions src/reading.njk
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ menu:
</tr>
{% for book in bookz | reverse %}
<tr id="{{ book.slug }}">
<td width="25%" class="text-color-contrast f4">
<td width="25%" class="text-color-contrast">
<a href="{{ '/reading' | url }}/{{book.slug}}/" class="no-link">{{ book.title }}  <span class="muted">→</span></a>
</td>
<td width="15%">
{{ book.author }}
</td>
<td>
<div class="prose">{{ book.notes | excerpt | md | safe }}</div>
<div class="prose f6">{{ book.notes | excerpt | md | safe }}</div>

{% if didExcerpt(book.notes) %}
<p class="f6 mb0">
Expand All @@ -57,10 +57,10 @@ menu:
{% else %}
{% if book.finished %}
{% if book.finishedAt %}
<time datetime="{{ book.finishedAt }}">{{ book.finishedAt | tdate('Date') }}</time><br>
<time class="fw5" datetime="{{ book.finishedAt }}">{{ book.finishedAt | tdate('HumanDate') }}</time><br>
{% endif %}
{% if book.location %}
<small class="font-sans fw4" title="Finished in">{{ book.location }}</small>
<small class="font-sans muted" title="Finished in">{{ book.location }}</small>
{% endif %}
{% else %}
<span class="Badge Badge--positive">Reading</span>
Expand Down

0 comments on commit 9b6ac45

Please sign in to comment.