From fbce37d5a0969cdd550dee173f66c0e68ad55c0d Mon Sep 17 00:00:00 2001
From: Cory Dransfeldt <hi@coryd.dev>
Date: Mon, 17 Jun 2024 09:51:41 -0700
Subject: [PATCH] chore: deps; better single episode show display; styles

---
 config/filters/index.js          |  4 +--
 package-lock.json                | 56 ++++++++++++++++----------------
 package.json                     |  6 ++--
 src/_data/tv.js                  |  4 +--
 src/assets/styles/base/index.css |  7 ++--
 5 files changed, 39 insertions(+), 38 deletions(-)

diff --git a/config/filters/index.js b/config/filters/index.js
index 5fb285cf..f4254aae 100644
--- a/config/filters/index.js
+++ b/config/filters/index.js
@@ -150,8 +150,8 @@ export default {
         if (item['rating']) normalized['subtext'] = item['rating']
       }
       if (item.type === 'tv') {
-        normalized['title'] = item['title']
-        normalized['alt'] = `${item['title']} from ${item['name']}`
+        normalized['title'] = item['name']
+        normalized['alt'] = `${item['subtext']} of ${item['name']}`
         normalized['subtext'] = item['subtext']
       }
       if (item.type === 'tv-range') {
diff --git a/package-lock.json b/package-lock.json
index 1fa28b7d..a7085cf9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "coryd.dev",
-  "version": "19.3.22",
+  "version": "19.3.23",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "coryd.dev",
-      "version": "19.3.22",
+      "version": "19.3.23",
       "license": "MIT",
       "dependencies": {
         "@cdransf/api-text": "^1.4.0",
@@ -21,10 +21,10 @@
         "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
         "@11tyrocks/eleventy-plugin-lightningcss": "^1.4.0",
         "@cdransf/eleventy-plugin-tabler-icons": "^1.6.0",
-        "@supabase/supabase-js": "^2.43.4",
+        "@supabase/supabase-js": "^2.43.5",
         "dotenv-flow": "^4.1.0",
         "html-minifier-terser": "^7.2.0",
-        "liquidjs": "^10.13.1",
+        "liquidjs": "^10.14.0",
         "luxon": "^3.4.4",
         "markdown-it": "^14.1.0",
         "markdown-it-anchor": "^9.0.1",
@@ -433,9 +433,9 @@
       }
     },
     "node_modules/@supabase/functions-js": {
-      "version": "2.3.1",
-      "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.3.1.tgz",
-      "integrity": "sha512-QyzNle/rVzlOi4BbVqxLSH828VdGY1RElqGFAj+XeVypj6+PVtMlD21G8SDnsPQDtlqqTtoGRgdMlQZih5hTuw==",
+      "version": "2.4.1",
+      "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.4.1.tgz",
+      "integrity": "sha512-8sZ2ibwHlf+WkHDUZJUXqqmPvWQ3UHN0W30behOJngVh/qHHekhJLCFbh0AjkE9/FqqXtf9eoVvmYgfCLk5tNA==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
@@ -456,9 +456,9 @@
       }
     },
     "node_modules/@supabase/postgrest-js": {
-      "version": "1.15.2",
-      "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.15.2.tgz",
-      "integrity": "sha512-9/7pUmXExvGuEK1yZhVYXPZnLEkDTwxgMQHXLrN5BwPZZm4iUCL1YEyep/Z2lIZah8d8M433mVAUEGsihUj5KQ==",
+      "version": "1.15.5",
+      "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.15.5.tgz",
+      "integrity": "sha512-YR4TiitTE2hizT7mB99Cl3V9i00RAY5sUxS2/NuWWzkreM7OeYlP2OqnqVwwb4z6ILn+j8x9e/igJDepFhjswQ==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
@@ -479,9 +479,9 @@
       }
     },
     "node_modules/@supabase/storage-js": {
-      "version": "2.5.5",
-      "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.5.5.tgz",
-      "integrity": "sha512-OpLoDRjFwClwc2cjTJZG8XviTiQH4Ik8sCiMK5v7et0MDu2QlXjCAW3ljxJB5+z/KazdMOTnySi+hysxWUPu3w==",
+      "version": "2.6.0",
+      "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.6.0.tgz",
+      "integrity": "sha512-REAxr7myf+3utMkI2oOmZ6sdplMZZ71/2NEIEMBZHL9Fkmm3/JnaOZVSRqvG4LStYj2v5WhCruCzuMn6oD/Drw==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
@@ -489,18 +489,18 @@
       }
     },
     "node_modules/@supabase/supabase-js": {
-      "version": "2.43.4",
-      "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.43.4.tgz",
-      "integrity": "sha512-/pLPaxiIsn5Vaz3s32HC6O/VNwfeddnzS0bZRpOW0AKcPuXroD8pT9G8mpiBlZfpKsMmq6k7tlhW7Sr1PAQ1lw==",
+      "version": "2.43.5",
+      "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.43.5.tgz",
+      "integrity": "sha512-Y4GukjZWW6ouohMaPlYz8tSz9ykf9jY7w9/RhqKuScmla3Xiklce8eLr8TYAtA+oQYCWxo3RgS3B6O4rd/72FA==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
         "@supabase/auth-js": "2.64.2",
-        "@supabase/functions-js": "2.3.1",
+        "@supabase/functions-js": "2.4.1",
         "@supabase/node-fetch": "2.6.15",
-        "@supabase/postgrest-js": "1.15.2",
+        "@supabase/postgrest-js": "1.15.5",
         "@supabase/realtime-js": "2.9.5",
-        "@supabase/storage-js": "2.5.5"
+        "@supabase/storage-js": "2.6.0"
       }
     },
     "node_modules/@types/linkify-it": {
@@ -825,9 +825,9 @@
       }
     },
     "node_modules/caniuse-lite": {
-      "version": "1.0.30001634",
-      "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001634.tgz",
-      "integrity": "sha512-fbBYXQ9q3+yp1q1gBk86tOFs4pyn/yxFm5ZNP18OXJDfA3txImOY9PhfxVggZ4vRHDqoU8NrKU81eN0OtzOgRA==",
+      "version": "1.0.30001636",
+      "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz",
+      "integrity": "sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==",
       "dev": true,
       "funding": [
         {
@@ -2145,9 +2145,9 @@
       }
     },
     "node_modules/liquidjs": {
-      "version": "10.13.1",
-      "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.13.1.tgz",
-      "integrity": "sha512-QCQ69sbyMdA1970NEsG7KdQoKi6N+lGg55izisvKvrrRO1nrpS/YBAnzDndR13exYB4xE9A87qdOMuaXPn9v9A==",
+      "version": "10.14.0",
+      "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.14.0.tgz",
+      "integrity": "sha512-Zjg35Yo3L/2aNy7QkICha/ulbXRtZS7oRenWyDDfw+J34Xy3fOKWWHxASC9r0gbxN661nrwmG/kOIKHfYcVk4Q==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
@@ -3479,9 +3479,9 @@
       "license": "ISC"
     },
     "node_modules/ws": {
-      "version": "8.17.0",
-      "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.0.tgz",
-      "integrity": "sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==",
+      "version": "8.17.1",
+      "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz",
+      "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==",
       "dev": true,
       "license": "MIT",
       "engines": {
diff --git a/package.json b/package.json
index 5fcce922..867777cf 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "coryd.dev",
-  "version": "19.3.22",
+  "version": "19.3.23",
   "description": "The source for my personal site. Built using 11ty.",
   "type": "module",
   "scripts": {
@@ -31,10 +31,10 @@
     "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
     "@11tyrocks/eleventy-plugin-lightningcss": "^1.4.0",
     "@cdransf/eleventy-plugin-tabler-icons": "^1.6.0",
-    "@supabase/supabase-js": "^2.43.4",
+    "@supabase/supabase-js": "^2.43.5",
     "dotenv-flow": "^4.1.0",
     "html-minifier-terser": "^7.2.0",
-    "liquidjs": "^10.13.1",
+    "liquidjs": "^10.14.0",
     "luxon": "^3.4.4",
     "markdown-it": "^14.1.0",
     "markdown-it-anchor": "^9.0.1",
diff --git a/src/_data/tv.js b/src/_data/tv.js
index fd7ff75f..7ed20d9d 100644
--- a/src/_data/tv.js
+++ b/src/_data/tv.js
@@ -91,7 +91,7 @@ export default async function () {
       showEpisodesMap[showTmdbId].episodes.push({
         name: showTitle,
         url: `/watching/shows/${showTmdbId}`,
-        subtext: `${showTitle} / S${seasonNumber}E${episodeNumber}`,
+        subtext: `S${seasonNumber}E${episodeNumber}`,
         episode: episodeNumber,
         season: seasonNumber,
         tmdbId: showTmdbId,
@@ -113,7 +113,7 @@ export default async function () {
 
       if (show.episodes.length > 1) {
         episodeData.push({
-          name: show.title,
+          name: show['title'],
           url: `/watching/shows/${show['tmdbId']}`,
           subtext: `S${startingSeason}E${startingEpisode} - S${endingSeason}E${endingEpisode}`,
           startingEpisode,
diff --git a/src/assets/styles/base/index.css b/src/assets/styles/base/index.css
index 1e63e33e..e73d05b0 100644
--- a/src/assets/styles/base/index.css
+++ b/src/assets/styles/base/index.css
@@ -89,10 +89,11 @@ code {
 
 sup.footnote-ref {
   line-height: var(--line-height-xs);
+}
 
-  & a {
-    text-decoration: none;
-  }
+sup.footnote-ref a,
+.footnote-backref {
+  text-decoration: none;
 }
 
 strong,