diff --git a/.markdownlint.json b/.markdownlint.json index 632ae1f5..bf6b3668 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -1,5 +1,6 @@ { "default": true, "MD013": false, - "MD033": false + "MD033": false, + "MD041": false } \ No newline at end of file diff --git a/README.md b/README.md index ac0833d3..1bcf8053 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,6 @@ Hi! I'm Cory. 👋🏻 This is the code for my personal website and portfolio. Built using [11ty](https://www.11ty.dev). -[![Follow @cory@social.lol on Mastodon](/src/assets/img/badges/mastodon.png)](https://social.lol/@cory) [![Buy me a Coffee](/src/assets/img/badges/buymeacoffee.png)](https://www.buymeacoffee.com/cory) [![Made with 11ty](/src/assets/img/badges/eleventy.png)](https://eleventy.dev) +[![Follow @cory@social.lol on Mastodon](/src/assets/badges/mastodon.png)](https://social.lol/@cory) [![Buy me a Coffee](/src/assets/badges/buymeacoffee.png)](https://www.buymeacoffee.com/cory) [![Made with 11ty](/src/assets/badges/eleventy.png)](https://eleventy.dev) [Music](https://coryd.dev/music) • [Watching](https://coryd.dev/watching) • [Books](https://coryd.dev/books) • [Now](https://coryd.dev/now) diff --git a/_redirects b/_redirects index 8f63ac2a..229b9803 100644 --- a/_redirects +++ b/_redirects @@ -38,12 +38,13 @@ /sitemap.txt /sitemap.xml 301! /blog / 301! /posts/2024 / 301! +/books/want-to-read/ /books 301! /blog/digital-privacy-tools /posts/2021/digital-privacy-tools/ 301! /assets/img/social-preview/your-site-your-home-your-web- /assets/img/social-preview/your-site-your-home-your-web-preview.jpeg 301! /assets/img/social-preview/adding-a-light/dark-theme-toggle-preview.jpeg /assets/img/social-preview/adding-a-light-dark-theme-toggle-preview.jpeg 301! /assets/img/social-preview/go-ahead-and-block-ai-web- /assets/img/social-preview/go-ahead-and-block-ai-web-crawlers-preview.jpeg 301! /assets/img/social-preview/automatic-mastodon-post-embeds-preview.jpeg /assets/img/ogi/automatic-mastodon-post-embeds-preview.png 301! -/assets/img/logo.webp /assets/img/avatar.webp 301! +/assets/img/logo.webp https://coryd-dev.b-cdn.net/assets/avatar.webp 301! # 400s /wp-* /400/ 400 diff --git a/api/scrobble.js b/api/scrobble.js index 46bfb041..7c5d7b6b 100644 --- a/api/scrobble.js +++ b/api/scrobble.js @@ -45,7 +45,7 @@ export default async (request) => { const { error: insertArtistError } = await supabase.from('artists').insert([ { mbid: null, - image: `https://coryd.dev/media/artists/${artistKey}.jpg`, + image: `/artists/${artistKey}.jpg`, key: artistKey, name: artist, tentative: true @@ -77,7 +77,7 @@ export default async (request) => { const { error: insertAlbumError } = await supabase.from('albums').insert([ { mbid: null, - image: `https://coryd.dev/media/albums/${albumKey}.jpg`, + image: `/albums/${albumKey}.jpg`, key: albumKey, name: album, tentative: true diff --git a/package.json b/package.json index 247819a0..a3fb238b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "18.12.13", + "version": "19.0.0", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_data/meta.js b/src/_data/meta.js index 8722a714..933dea95 100644 --- a/src/_data/meta.js +++ b/src/_data/meta.js @@ -10,7 +10,7 @@ export default async function () { "locale": "en_US", "lang": "en", "meta_data": { - "opengraph_default": "https://coryd.dev/.netlify/images/?url=/assets/img/avatar.png&w=500&h=500&fm=webp" + "opengraph_default": "https://coryd-dev.b-cdn.net/assets/avatar.png" } } } diff --git a/src/_data/movies.js b/src/_data/movies.js index 3afad96f..db1c53f7 100644 --- a/src/_data/movies.js +++ b/src/_data/movies.js @@ -53,8 +53,8 @@ export default async function () { year: item['year'], url: `/watching/movies/${item['tmdb_id']}`, description: `${item['title']} (${item['year']})
Watched at: ${DateTime.fromISO(item['last_watched'], { zone: 'utc' }).setZone('America/Los_Angeles').toFormat('MMMM d, yyyy, h:mma')}`, - image: `https://coryd.dev/media/movies/poster-${item['tmdb_id']}.jpg`, - backdrop: `https://coryd.dev/media/movies/backdrops/backdrop-${item['tmdb_id']}.jpg`, + image: `/movies/poster-${item['tmdb_id']}.jpg`, + backdrop: `/movies/backdrops/backdrop-${item['tmdb_id']}.jpg`, plays: item['plays'], collected: item['collected'], favorite: item['favorite'], diff --git a/src/_data/tv.js b/src/_data/tv.js index c62c849b..4c87677b 100644 --- a/src/_data/tv.js +++ b/src/_data/tv.js @@ -96,8 +96,8 @@ export default async function () { season: seasonNumber, tmdbId: showTmdbId, type: 'tv', - image: `/media/shows/poster-${showTmdbId}.jpg`, - backdrop: `/media/shows/backdrops/backdrop-${showTmdbId}.jpg`, + image: `/shows/poster-${showTmdbId}.jpg`, + backdrop: `/shows/backdrops/backdrop-${showTmdbId}.jpg`, dateAdded: lastWatchedAt, lastWatchedAt }) @@ -124,8 +124,8 @@ export default async function () { collected: show['collected'], favorite: show['favorite'], type: 'tv-range', - image: `/media/shows/poster-${show['tmdbId']}.jpg`, - backdrop: `/media/shows/backdrops/backdrop-${show['tmdbId']}.jpg`, + image: `/shows/poster-${show['tmdbId']}.jpg`, + backdrop: `/shows/backdrops/backdrop-${show['tmdbId']}.jpg`, }) } else { const singleEpisode = show['episodes'][0] diff --git a/src/_includes/base.liquid b/src/_includes/base.liquid index 1d8c46f2..fb909e9c 100644 --- a/src/_includes/base.liquid +++ b/src/_includes/base.liquid @@ -62,7 +62,7 @@ {%- when 'movie' -%} {%- assign ogImage = movie.backdrop -%} {%- when 'show' -%} - {%- assign ogImage = meta.url | append: '/media/shows/backdrops/backdrop-' | append: show.tmdb_id | append: '.jpg' -%} + {%- assign ogImage = 'https://coryd-dev.b-cdn.net/shows/backdrops/backdrop-' | append: show.tmdb_id | append: '.jpg' -%} {%- when 'genre' -%} {%- assign genreArtist = genre.artists | shuffleArray | first -%} {%- assign ogImage = genreArtist.image -%} diff --git a/src/_includes/partials/feeds/json.liquid b/src/_includes/partials/feeds/json.liquid index ebc5bfe2..d3a83e65 100644 --- a/src/_includes/partials/feeds/json.liquid +++ b/src/_includes/partials/feeds/json.liquid @@ -2,7 +2,7 @@ { "version": "https://jsonfeed.org/version/1", "title": "{{ title }}", - "icon": "https://coryd.dev/assets/img/feed-icon.png", + "icon": "https://coryd.dev/assets/avatar.png", "home_page_url": "{{ meta.url }}", "feed_url": "{{ permalink | absoluteUrl: meta.url }}", "items": [{% for entry in entries limit: 20 -%} diff --git a/src/_includes/partials/media/grid.liquid b/src/_includes/partials/media/grid.liquid index fa6d29f5..b6b71dac 100644 --- a/src/_includes/partials/media/grid.liquid +++ b/src/_includes/partials/media/grid.liquid @@ -19,16 +19,16 @@ {% if shape == 'square' %} {{ alt }} {{ alt }} {{ alt }} Made with 11ty Made with 11ty Made with 11ty Made with 11ty Made with 11ty Made with 11ty Made with 11ty Made with 11ty The Claw Webring {{ alt }} {{ alt }} {{ alt }} {{ alt }}