diff --git a/package-lock.json b/package-lock.json index 6ef6ae1a..804fda8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "22.2.6", + "version": "22.2.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "22.2.6", + "version": "22.2.7", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index 0715e6bc..13245d3a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "22.2.6", + "version": "22.2.7", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/pages/dynamic/books/book.html b/src/pages/dynamic/books/book.html index 4736fb63..6d43d2ec 100644 --- a/src/pages/dynamic/books/book.html +++ b/src/pages/dynamic/books/book.html @@ -41,10 +41,10 @@ schema: book {% if book.status == 'finished' %}

Finished on: {{ book.date | date: "%B %e, %Y" }}

{% endif %} - {% unless book.status == 'finished' %} + {% if book.status == 'started' %} {%- assign percentage = book.progress | append: '%' -%} {% render "partials/media/progress-bar.liquid", percentage:percentage %} - {% endunless %} + {% endif %}

View on Open Library