Bookgoals for years past?

I finally got around to importing my old Goodreads data into Micro.blog’s bookshelves feature. Had to do some duplicate clean up, as well as moving books from one shelf to another (would be really nice to have a ‘Move’ button!) but I got it pretty much right. There are a number of books that I’ll have to find covers for (another feature request: cover search?), but that can be done over time.

Using @manton’s Book reading goals plugin, I have the last four years of books I’ve finished in the own separate categories. I really like this so that I can look back at what I read year-by-year. But since this is tied to goals set that year, I’m stuck trying to organize my books finished in prior years onto my Finished Reading page. I have books with 'Finished date’ going all the way back to 2008, but since I can’t set goals for past years, those sections remain empty.

Any way to get those finished dates to work in bookgoals?

I’m not saying this is the right, best, or even good way to do this. But this is what I did:

{{ define "main" }}

{{ $books := $.Site.Data.bookshelves.currentlyreading }}
<div class="singlearea">
 <h1 class="bookshelf-name">Currently Reading</h1>
</div>
<div class="bookshelf">
    {{- range $books }}
      <a href="https://bookshop.org/a/{{ $.Site.Params.bookshop_affiliate_id }}/{{ .isbn }}">
<figure>
   <img 
      class="bookshelf-book-cover"
      src="{{ .cover_url }}"
      loading="lazy"
      decoding="async"
      alt="{{ .title }} by {{ .author }}"/>
    <figcaption> {{ .title }} by {{ .author }}</figcaption>
</figure>
      </a>
    {{ end }}
</div>

{{- range $shelf, $bookshelf :=  $.Site.Data.bookshelves  }}

{{ if ne $shelf "currentlyreading" }}
<div class="singlearea">
  <h1 class="bookshelf-name">Read in {{ $shelf | replaceRE ".*(20[0-9]{2})$" "$1" }}</h1>
</div>
<div class="bookshelf">
    {{- range $bookshelf }}
  <a href="https://bookshop.org/a/{{ $.Site.Params.bookshop_affiliate_id }}/{{ .isbn }}">
<figure>
  <img 
      class="bookshelf-book-cover"
      src="{{ .cover_url }}"
      loading="lazy"
      decoding="async"
      alt="{{ .title }} by {{ .author }}"/>
    <figcaption> {{ .title }} by {{ .author }}</figcaption>
</figure></a>
{{ end }}
</div>
{{ end }}
{{ end }}
{{ end }}

I created a shelf per year, then used this as a books page. Modify as you see fit.