---
layout: default
---
<article>
  <header>
    <h1>{{ page.title }}</h1>
  </header>
  {{ content }}
</article>

---
layout: default
---
<article>
  <header>
    <h1>{{ page.title }}</h1>
  </header>
  {{ content }}

  {% assign counter = 0 %}
  {% for post in site.posts %}
    {% assign thisyear = post.date | date: "%Y" %}
    {% assign prevyear = post.previous.date | date: "%Y" %}
    {% assign counter = counter | plus: 1 %}
    {% if thisyear != prevyear %}
      <li>Year {{ thisyear }} - {{ counter }} books read</li>
      {% assign counter = 0 %}
    {% endif %}
  {% endfor %}
</article>

Add code to display yearly count of books read
Add code to display yearly count of books read
