From 56e53e2a33464eea15c81c71fc3de1e9324d44c3 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 6 Jun 2025 16:53:53 -0700 Subject: [PATCH] fix(watching): correct typos on sub pages, add links out to other sub pages and hero images on landing pages --- package-lock.json | 4 ++-- package.json | 2 +- src/pages/media/watching/favorites/movies.html | 7 ++++++- src/pages/media/watching/favorites/shows.html | 7 ++++++- src/pages/media/watching/index.html | 3 +-- src/pages/media/watching/recent/movies.html | 7 ++++++- src/pages/media/watching/recent/shows.html | 7 ++++++- src/pages/media/watching/upcoming-shows.html | 3 ++- 8 files changed, 30 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index a92902c..4fcd477 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "9.1.6", + "version": "9.1.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "9.1.6", + "version": "9.1.7", "license": "MIT", "dependencies": { "minisearch": "^7.1.2", diff --git a/package.json b/package.json index ce5ef5b..844a6ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "9.1.6", + "version": "9.1.7", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "engines": { diff --git a/src/pages/media/watching/favorites/movies.html b/src/pages/media/watching/favorites/movies.html index 0b3a470..05a96f1 100644 --- a/src/pages/media/watching/favorites/movies.html +++ b/src/pages/media/watching/favorites/movies.html @@ -7,10 +7,15 @@ pagination: permalink: "/watching/favorites/movies/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}/{% endif %}index.html" schema: favorite-movies --- +{%- assign randomFavoriteMovie = movies.favorites | shuffleArray | first -%} {% tablericon "arrow-left" %} Back to watching {% if pagination.pageNumber == 0 %}

{{ title }}

-

These are my favorite movies. There are many like them, but these are mine.

+{% render "media/watching/hero.liquid", + globals:globals, + movie:randomFavoriteMovie +%} +

These are my favorite movies. You can also see the shows I've watched recently, the movies I've watched recently, my favorite shows and the shows I've got queued up to watch next.


{% endif %} {% render "media/grid.liquid", diff --git a/src/pages/media/watching/favorites/shows.html b/src/pages/media/watching/favorites/shows.html index 322b9c5..accda4f 100644 --- a/src/pages/media/watching/favorites/shows.html +++ b/src/pages/media/watching/favorites/shows.html @@ -7,10 +7,15 @@ pagination: permalink: "/watching/favorites/shows/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}/{% endif %}index.html" schema: favorite-shows --- +{%- assign randomFavoriteShow = tv.favorites | shuffleArray | first -%} {% tablericon "arrow-left" %} Back to watching {% if pagination.pageNumber == 0 %}

{{ title }}

-

These are my favorite shows. There are many like them, but these are mine.

+{% render "media/watching/hero.liquid", + globals:globals, + movie:randomFavoriteShow +%} +

These are my favorite shows. You can also see the movies I've watched recently, the shows I've watched recently, my favorite movies and the shows I've got queued up to watch next.


{% endif %} {% render "media/grid.liquid", diff --git a/src/pages/media/watching/index.html b/src/pages/media/watching/index.html index 69b45d5..bef1dbf 100644 --- a/src/pages/media/watching/index.html +++ b/src/pages/media/watching/index.html @@ -13,8 +13,7 @@ updated: "now" globals:globals, movie:overviewWatched %} -

Here's all of the TV and movies I've been watching presented in what is (hopefully) an organized fashion.

-

You can see all of the shows I've got queued up here.

+

Here's all of the TV and movies I've been watching presented in what is (hopefully) an organized fashion. Recents, favorites — all of it. You can see all of the shows I've got queued up here.

{% render "blocks/top-tags.liquid" label:"Top genres" tags:topTags.watching_genres diff --git a/src/pages/media/watching/recent/movies.html b/src/pages/media/watching/recent/movies.html index 77a540c..9a4e9f1 100644 --- a/src/pages/media/watching/recent/movies.html +++ b/src/pages/media/watching/recent/movies.html @@ -7,10 +7,15 @@ pagination: permalink: "/watching/recent/movies/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}/{% endif %}index.html" schema: favorite-movies --- +{%- assign randomRecentMovie = movies.recentlyWatched | shuffleArray | first -%} {% tablericon "arrow-left" %} Back to watching {% if pagination.pageNumber == 0 %}

{{ title }}

-

These are my favorite movies. There are many like them, but these are mine.

+{% render "media/watching/hero.liquid", + globals:globals, + movie:randomRecentMovie +%} +

These are all of the movies I've watched recently. You can also see the shows I've watched recently, my favorite movies, my favorite shows and the shows I've got queued up to watch next.


{% endif %} {% render "media/grid.liquid", diff --git a/src/pages/media/watching/recent/shows.html b/src/pages/media/watching/recent/shows.html index 5243970..7bc1b77 100644 --- a/src/pages/media/watching/recent/shows.html +++ b/src/pages/media/watching/recent/shows.html @@ -7,10 +7,15 @@ pagination: permalink: "/watching/recent/shows/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}/{% endif %}index.html" schema: favorite-shows --- +{%- assign randomRecentShow = tv.recentlyWatched | shuffleArray | first -%} {% tablericon "arrow-left" %} Back to watching {% if pagination.pageNumber == 0 %}

{{ title }}

-

These are my favorite shows. There are many like them, but these are mine.

+{% render "media/watching/hero.liquid", + globals:globals, + movie:randomRecentShow +%} +

These are all of the shows I've watched recently. You can also see the movies I've watched recently, my favorite shows, my favorite movies and the shows I've got queued up to watch next.


{% endif %} {% render "media/grid.liquid", diff --git a/src/pages/media/watching/upcoming-shows.html b/src/pages/media/watching/upcoming-shows.html index 606367e..4564ba5 100644 --- a/src/pages/media/watching/upcoming-shows.html +++ b/src/pages/media/watching/upcoming-shows.html @@ -12,7 +12,8 @@ updated: "now" globals:globals, movie:featuredMovie %} -

Here's all of the TV shows I'm keeping up with. Shows I want to watch but haven't started are at the bottom of the page — the rest are sorted by air and watch date. Shows I follow with new episodes appear first, followed by shows I'm catching up on and those with new episodes on the way.

+

Here's all of the TV shows I'm keeping up with. Shows I want to watch but haven't started are at the bottom of the page — the rest are sorted by air and watch date. Shows I follow with new episodes appear first, followed by shows I'm catching up on and those with new episodes on the way.

+

You can also see the movies and shows I've watched recently, my favorite shows and my favorite movies.


Watching

{% render "media/grid.liquid",