From 6674e4fabffc1b6052c5f28c32effca2c4d88763 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Wed, 1 May 2024 19:59:25 -0700 Subject: [PATCH] chore: image quality --- src/_includes/partials/now/media-grid.liquid | 4 ++-- src/_includes/partials/now/tracks-recent.liquid | 2 +- src/_includes/partials/widgets/badge-grid.liquid | 16 ++++++++-------- src/_includes/webrings/the-claw.liquid | 2 +- src/pages/books/index.html | 2 +- src/pages/errors/404.html | 2 +- ...ening-data-from-apple-music-using-musickit.md | 2 +- ...-email-with-regex-filters-now-with-chatgpt.md | 2 +- ...m-ics-to-json-surfacing-anticipated-albums.md | 2 +- .../now-page-grouping-episodes-of-same-show.md | 2 +- ...ying-eleventy-netlify-edge-functions-emoji.md | 2 +- .../optimizing-for-performance-with-eleventy.md | 2 +- .../2023/road-to-madness-apple-music-charts.md | 2 +- ...x-webhooks-edge-functions-and-blob-storage.md | 2 +- ...h-b2-netlify-image-cdn-hazel-mountain-duck.md | 2 +- src/posts/2024/on-getting-tattooed.md | 2 +- src/posts/2024/what-song-is-in-your-head.md | 2 +- 17 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/_includes/partials/now/media-grid.liquid b/src/_includes/partials/now/media-grid.liquid index 7384decd..5f013a36 100644 --- a/src/_includes/partials/now/media-grid.liquid +++ b/src/_includes/partials/now/media-grid.liquid @@ -22,9 +22,9 @@ {%- if loading -%}{{ loading }}{%- else -%}lazy{%- endif -%} {%- endcapture -%} {% if shape == 'square' %} - {{ alt }} + {{ alt }} {% else %} - {{ alt }} + {{ alt }} {% endif %} diff --git a/src/_includes/partials/now/tracks-recent.liquid b/src/_includes/partials/now/tracks-recent.liquid index a0c35147..6db33d57 100644 --- a/src/_includes/partials/now/tracks-recent.liquid +++ b/src/_includes/partials/now/tracks-recent.liquid @@ -4,7 +4,7 @@ {% capture alt %}{{ item.track | escape }} by {{ item.artist }}{% endcapture %}
- {{ alt }} + {{ alt }}
{{ item.track }}
diff --git a/src/_includes/partials/widgets/badge-grid.liquid b/src/_includes/partials/widgets/badge-grid.liquid index 53fb5a5c..973170d6 100644 --- a/src/_includes/partials/widgets/badge-grid.liquid +++ b/src/_includes/partials/widgets/badge-grid.liquid @@ -1,24 +1,24 @@ diff --git a/src/_includes/webrings/the-claw.liquid b/src/_includes/webrings/the-claw.liquid index 600b1957..15942a53 100644 --- a/src/_includes/webrings/the-claw.liquid +++ b/src/_includes/webrings/the-claw.liquid @@ -1,6 +1,6 @@
- The Claw Webring + The Claw Webring

The Claw Webring

diff --git a/src/pages/books/index.html b/src/pages/books/index.html index 9a7b717a..09a634cc 100644 --- a/src/pages/books/index.html +++ b/src/pages/books/index.html @@ -13,7 +13,7 @@ permalink: "/books/index.html" {% capture alt %}{{ book.title }} by {{ book.authors }}{% endcapture %}
- {{ alt }} + {{ alt }}
diff --git a/src/pages/errors/404.html b/src/pages/errors/404.html index bfac7bb7..e2456785 100644 --- a/src/pages/errors/404.html +++ b/src/pages/errors/404.html @@ -5,7 +5,7 @@ permalink: /404.html image: /assets/img/404.jpg ---
- {{ alt }} + {{ alt }}
What kind of idiots do you have working here? Hurry up and skip out on the room service bill! diff --git a/src/posts/2023/displaying-listening-data-from-apple-music-using-musickit.md b/src/posts/2023/displaying-listening-data-from-apple-music-using-musickit.md index 0791d0e5..4f396256 100644 --- a/src/posts/2023/displaying-listening-data-from-apple-music-using-musickit.md +++ b/src/posts/2023/displaying-listening-data-from-apple-music-using-musickit.md @@ -203,7 +203,7 @@ The templating for my site is all written in [liquid.js](https://liquidjs.com) a We have an object containing arrays of objects — we iterate through each object for the appropriate section (tracks aren't displayed at the moment) and build the resulting display[^3]. This isn't perfect by any means, but, it does provide a nice little visualization of what I'm listening to and `240` tracks feels adequate as a rolling window into that activity. -Albums and artists +Albums and artists [^1]: There are some good options to do this, but there aren't a _ton_ and the age of some of the apps is concerning. [Marvis](https://appaddy.wixsite.com/marvis) is far and away your best choice here. [^2]: Making sure that you update the values you obtained, including the path to your downloaded `.p8` file. diff --git a/src/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt.md b/src/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt.md index 88bde078..60dc7f41 100644 --- a/src/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt.md +++ b/src/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt.md @@ -9,7 +9,7 @@ I've been using Fastmail for years now and have explored a number of different a For now, I've approached filtering my mail by applying regular expressions to reasonably broad categories of incoming mail[^2]. My thinking with this approach is that will scale better over the long term by applying heuristics to common phrases and patterns in incoming mail without the need to apply rules to senders on a per address or domain basis. -A diagram of my Fastmail workflow +A diagram of my Fastmail workflow ## Alias-specific rules diff --git a/src/posts/2023/from-ics-to-json-surfacing-anticipated-albums.md b/src/posts/2023/from-ics-to-json-surfacing-anticipated-albums.md index 345e7314..60d4faf1 100644 --- a/src/posts/2023/from-ics-to-json-surfacing-anticipated-albums.md +++ b/src/posts/2023/from-ics-to-json-surfacing-anticipated-albums.md @@ -66,6 +66,6 @@ Rendering the output is as simple as: Leaving us with: -Albums I'm looking forward to +Albums I'm looking forward to [^1]: At this point, a dev playground. diff --git a/src/posts/2023/now-page-grouping-episodes-of-same-show.md b/src/posts/2023/now-page-grouping-episodes-of-same-show.md index 6de601f9..65c3d244 100644 --- a/src/posts/2023/now-page-grouping-episodes-of-same-show.md +++ b/src/posts/2023/now-page-grouping-episodes-of-same-show.md @@ -12,7 +12,7 @@ I made a minor update to how I'm normalizing TV data for display on my now page. By _minor_ I mean one of those things that may well break inexplicably depending on where the data lands. Instead of returning a normalized array based directly off the data returned by [Trakt](https://trakt.tv)'s API I'm instead collecting episodes in an array, checking as I iterate through the response to see if an episode of the same show exists and replacing that object with a mutated object designed to display the range of episodes watched for the show. -Grouped TV episodes +Grouped TV episodes {% raw %} diff --git a/src/posts/2023/now-playing-eleventy-netlify-edge-functions-emoji.md b/src/posts/2023/now-playing-eleventy-netlify-edge-functions-emoji.md index 919be9bb..7cf9ddf9 100644 --- a/src/posts/2023/now-playing-eleventy-netlify-edge-functions-emoji.md +++ b/src/posts/2023/now-playing-eleventy-netlify-edge-functions-emoji.md @@ -168,6 +168,6 @@ Finally, if the page this all lives on is loaded by a client without JavaScript All of this, yields the single line at the bottom of this image — updated on each visit. -Now playing +Now playing [^1]: Plus explicit conditions matching David Bowie and Minor Threat. diff --git a/src/posts/2023/optimizing-for-performance-with-eleventy.md b/src/posts/2023/optimizing-for-performance-with-eleventy.md index f672b6f6..32eca02c 100644 --- a/src/posts/2023/optimizing-for-performance-with-eleventy.md +++ b/src/posts/2023/optimizing-for-performance-with-eleventy.md @@ -126,6 +126,6 @@ For this page in particular, the images that are rendered above the fold are set All of these boilerplate steps leave us with a quick to load, accessible and resilient site: -Pagespeed scores for coryd.dev/now +Pagespeed scores for coryd.dev/now [^1]: It's easy, flexible and helps mitigate my lack of an eye for design by providing safe baselines. diff --git a/src/posts/2023/road-to-madness-apple-music-charts.md b/src/posts/2023/road-to-madness-apple-music-charts.md index 50c104c9..cb9857bf 100644 --- a/src/posts/2023/road-to-madness-apple-music-charts.md +++ b/src/posts/2023/road-to-madness-apple-music-charts.md @@ -132,7 +132,7 @@ _Cool_[^4]. GitHub triggers a rebuild of the site every hour, Netlify builds it, There are some significant issues with this approach: it doesn't capture listens to an album in a loop (like me playing the new Outer Heaven record today — hails 🤘). It can get wonky when my diff function hits a track order that elicits a false positive return value. -Charlie Day standing in front of charts +Charlie Day standing in front of charts "But Cory there's last.fm." I hear this, I love last.fm, but I've got concerns about its age, ownership and maintenance. I don't want to be on the wrong end of a scream test when the wrong (right?) server rack gets decommissioned. diff --git a/src/posts/2024/building-a-scrobbler-using-plex-webhooks-edge-functions-and-blob-storage.md b/src/posts/2024/building-a-scrobbler-using-plex-webhooks-edge-functions-and-blob-storage.md index 7cf606f2..667bf164 100644 --- a/src/posts/2024/building-a-scrobbler-using-plex-webhooks-edge-functions-and-blob-storage.md +++ b/src/posts/2024/building-a-scrobbler-using-plex-webhooks-edge-functions-and-blob-storage.md @@ -9,7 +9,7 @@ I've written before about [embedding music into my site](https://coryd.dev/posts I could have kept depending on Last.fm and — don't get me wrong — I love Last.fm. It's one of those valuable, legacy services that's hanging on with a rich user base and historical recommendations. I'm going to keep scrobbling data there and to ListenBrainz[^1]. -A diagram of the scrobbling architecture +A diagram of the scrobbling architecture What I've long wanted is something that sits on infrastructure I control, stores my own data and lets me present roughly the same data. Given that Plex will issue outbound webhooks, I thought I'd set up an edge function over at Netlify and point a webhook at it to see what I could do with the inbound payload. What Plex sends is fairly lightweight and ended up needing to be read in from form data on the `POST`, but it was enough to work with. diff --git a/src/posts/2024/handling-images-with-b2-netlify-image-cdn-hazel-mountain-duck.md b/src/posts/2024/handling-images-with-b2-netlify-image-cdn-hazel-mountain-duck.md index c817971b..6a4b2c2a 100644 --- a/src/posts/2024/handling-images-with-b2-netlify-image-cdn-hazel-mountain-duck.md +++ b/src/posts/2024/handling-images-with-b2-netlify-image-cdn-hazel-mountain-duck.md @@ -14,7 +14,7 @@ To simplify file uploads to B2, I mount the bucket for my site using [Mountain D My music charting feature relies on JSON maps of artist and album metadata — if a new artist or album isn't present in either, it assumes that the image it needs is in the format of `artist-name.jpg` or `artist-name-album-name.jpg`. I store the canonical copies of these image files in a separate GitHub repo and have Hazel watch the `artist` and `album` directories contained therein. It renames the files to match the aforementioned format, strips characters that typically break URLs and copies them to my mounted B2 Bucket. -An example of my album art Hazel workflow +An example of my album art Hazel workflow --- diff --git a/src/posts/2024/on-getting-tattooed.md b/src/posts/2024/on-getting-tattooed.md index 4d9edc9b..3605fa73 100644 --- a/src/posts/2024/on-getting-tattooed.md +++ b/src/posts/2024/on-getting-tattooed.md @@ -28,7 +28,7 @@ Each piece was important to me when I got it and remains important to me now. Th {% capture fallbackIcon %}{% tablericon "photo" "A photo of the Sturgill Simpson-inspired half sleeve referenced above." %}{% endcapture %} -A photo of the Sturgill Simpson-inspired half sleeve referenced above. +A photo of the Sturgill Simpson-inspired half sleeve referenced above. [^1]: My wife got the same piece done — there was one pointing to the driveway of the house we got married at. It burned down in the Butte fire. [^2]: She got elected! diff --git a/src/posts/2024/what-song-is-in-your-head.md b/src/posts/2024/what-song-is-in-your-head.md index 5a2d433f..84be8925 100644 --- a/src/posts/2024/what-song-is-in-your-head.md +++ b/src/posts/2024/what-song-is-in-your-head.md @@ -6,7 +6,7 @@ tags: ['music'] --- I saw this carved into a table in Austin once and it — like many songs — has been stuck in my head ever since. I'll get hooked on a song and circle back to that roughly carved message. -What song is in your head? +What song is in your head? I've had songs and albums stuck in my head dating back to my childhood, primarily tracks from [*The Traveling Wilburys Vol. 1*](https://en.wikipedia.org/wiki/Traveling_Wilburys_Vol._1) — Tweeter and the Monkey Man, Handle With Care — they all take turns getting stuck in my head.