From 5cc4abcbd799441c89071498e6b7b577f21d0f86 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 12 Sep 2024 20:34:06 -0700 Subject: [PATCH] fix: lang --- package-lock.json | 4 ++-- package.json | 2 +- src/pages/dynamic/music/genre.html | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index bf8cef37..8a653adf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "24.8.1", + "version": "24.8.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "24.8.1", + "version": "24.8.2", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index d5b6a83a..7c2786a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "24.8.1", + "version": "24.8.2", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/pages/dynamic/music/genre.html b/src/pages/dynamic/music/genre.html index 9bb0eac7..0d94ff36 100644 --- a/src/pages/dynamic/music/genre.html +++ b/src/pages/dynamic/music/genre.html @@ -9,11 +9,11 @@ updated: "now" schema: genre --- {% assign artistCount = genre.artists.size %} -{%- capture connectingWord -%} +{%- capture connectingWords -%} {% if artistCount > 1 %} - are + artists are {% else %} - is + artist is {% endif %} {%- endcapture -%} {%- assign mediaLinks = genre.artists | sortByPlaysDescending: "total_plays" | mediaLinks: "artist", 5 -%} @@ -22,7 +22,7 @@ schema: genre

{{ genre.name }}

{%- if mediaLinks -%} -

My top {{ genre.name }} artists {{ connectingWord }} {{ mediaLinks }}. I've listened to {{ genre.total_plays | formatNumber }} tracks form this genre.

+

My top {{ genre.name }} {{ connectingWords }} {{ mediaLinks }}. I've listened to {{ genre.total_plays | formatNumber }} tracks form this genre.


{%- endif -%} {% render "partials/blocks/associated-media.liquid", posts:genre.posts %}