diff --git a/package-lock.json b/package-lock.json index 47cd8a3a..8322788a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "19.3.8", + "version": "19.3.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "19.3.8", + "version": "19.3.10", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index a83dc4c9..77909f24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "19.3.9", + "version": "19.3.10", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_includes/partials/media/music/chart.liquid b/src/_includes/partials/media/music/chart.liquid index 3ca72aea..8ec7ff20 100644 --- a/src/_includes/partials/media/music/chart.liquid +++ b/src/_includes/partials/media/music/chart.liquid @@ -10,7 +10,14 @@
{{ item.title }}
-
{{ item.artist }}: {{ item.plays }} plays
+ {% capture playsLabel %} + {% if item.plays > 1 %} + plays + {% else %} + play + {% endif %} + {% endcapture %} +
{{ item.artist }} / {{ item.plays }} {{ playsLabel }}
{% render "partials/media/progress-bar.liquid", percentage:percentage %}