fix: assorted bugs
This commit is contained in:
parent
f0041e0525
commit
b936711d76
7 changed files with 12 additions and 7 deletions
10
_redirects
10
_redirects
|
@ -71,16 +71,16 @@
|
||||||
/assets/img/feed-icon.png /assets/icons/apple-touch-icon.png 200!
|
/assets/img/feed-icon.png /assets/icons/apple-touch-icon.png 200!
|
||||||
|
|
||||||
# general
|
# general
|
||||||
|
/posts/ /posts/0/ 200!
|
||||||
|
/links/ /links/0/ 200!
|
||||||
|
/watching/movies-to-watch/ /watching/movies-to-watch/0/ 200!
|
||||||
|
/watching/shows-to-watch/ /watching/shows-to-watch/0/ 200!
|
||||||
|
/books/want-to-read/ /books/want-to-read/0/ 200!
|
||||||
/articles/ / 301!
|
/articles/ / 301!
|
||||||
/tags /search 301!
|
/tags /search 301!
|
||||||
/posts/0 /posts/ 200!
|
|
||||||
/links/0 /links/ 200!
|
|
||||||
/watching/movies-to-watch/0 /watching/movies-to-watch/ 200!
|
|
||||||
/watching/shows-to-watch/0 /watching/shows-to-watch/ 200!
|
|
||||||
/mastodon https://social.lol/@cory 301!
|
/mastodon https://social.lol/@cory 301!
|
||||||
/coffee https://www.buymeacoffee.com/cory 301!
|
/coffee https://www.buymeacoffee.com/cory 301!
|
||||||
/speedlify https://speedlify.coryd.dev 301!
|
/speedlify https://speedlify.coryd.dev 301!
|
||||||
/books/want-to-read/ /books/want-to-read/0/ 200!
|
|
||||||
|
|
||||||
# netlify app domain
|
# netlify app domain
|
||||||
https://cdme.netlify.app https://coryd.dev 301!
|
https://cdme.netlify.app https://coryd.dev 301!
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "15.0.0",
|
"version": "15.0.3",
|
||||||
"description": "The source for my personal site. Built using 11ty.",
|
"description": "The source for my personal site. Built using 11ty.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -3,7 +3,7 @@ export default async function () {
|
||||||
const feed = new ActivityFeed()
|
const feed = new ActivityFeed()
|
||||||
|
|
||||||
feed.addSource('rss', '📝', 'https://coryd.dev/feeds/posts')
|
feed.addSource('rss', '📝', 'https://coryd.dev/feeds/posts')
|
||||||
feed.addSource('rss', '🎥', 'https://coryd.dev/feeds/movies')
|
// feed.addSource('rss', '🎥', 'https://coryd.dev/feeds/movies')
|
||||||
feed.addSource('rss', '📖', 'https://coryd.dev/feeds/books')
|
feed.addSource('rss', '📖', 'https://coryd.dev/feeds/books')
|
||||||
feed.addSource('rss', '🔗', 'https://coryd.dev/feeds/links')
|
feed.addSource('rss', '🔗', 'https://coryd.dev/feeds/links')
|
||||||
feed.addSource('rss', '🎧', 'https://coryd.dev/feeds/weekly-artist-chart')
|
feed.addSource('rss', '🎧', 'https://coryd.dev/feeds/weekly-artist-chart')
|
||||||
|
|
|
@ -47,6 +47,7 @@ export default async function () {
|
||||||
const movie = {
|
const movie = {
|
||||||
title: item['title'],
|
title: item['title'],
|
||||||
lastWatched: item['last_watched'],
|
lastWatched: item['last_watched'],
|
||||||
|
dateAdded: item['last_watched'],
|
||||||
year: item['year'],
|
year: item['year'],
|
||||||
url: `https://www.themoviedb.org/movie/${item['tmdb_id']}`,
|
url: `https://www.themoviedb.org/movie/${item['tmdb_id']}`,
|
||||||
description: `<p>${item['title']} (${item['year']})</p><p>Watched at: ${DateTime.fromISO(item['last_watched'], { zone: 'utc' }).setZone('America/Los_Angeles').toFormat('MMMM d, yyyy, h:mma')}</p>`,
|
description: `<p>${item['title']} (${item['year']})</p><p>Watched at: ${DateTime.fromISO(item['last_watched'], { zone: 'utc' }).setZone('America/Los_Angeles').toFormat('MMMM d, yyyy, h:mma')}</p>`,
|
||||||
|
|
|
@ -81,6 +81,7 @@ export default async function () {
|
||||||
tmdbId: showTmdbId,
|
tmdbId: showTmdbId,
|
||||||
collected,
|
collected,
|
||||||
favorite,
|
favorite,
|
||||||
|
dateAdded: lastWatchedAt,
|
||||||
lastWatchedAt,
|
lastWatchedAt,
|
||||||
episodes: []
|
episodes: []
|
||||||
}
|
}
|
||||||
|
@ -96,6 +97,7 @@ export default async function () {
|
||||||
type: 'tv',
|
type: 'tv',
|
||||||
image: `https://coryd.dev/media/shows/poster-${showTmdbId}.jpg`,
|
image: `https://coryd.dev/media/shows/poster-${showTmdbId}.jpg`,
|
||||||
backdrop: `https://coryd.dev/media/shows/backdrops/backdrop-${showTmdbId}.jpg`,
|
backdrop: `https://coryd.dev/media/shows/backdrops/backdrop-${showTmdbId}.jpg`,
|
||||||
|
dateAdded: lastWatchedAt,
|
||||||
lastWatchedAt
|
lastWatchedAt
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
@ -6,4 +6,5 @@ permalink: "/watching/favorite-movies/index.html"
|
||||||
<p><a class="link-icon flex-centered" href="/watching">{% tablericon "arrow-left" "Go back" %} Go back</a></p>
|
<p><a class="link-icon flex-centered" href="/watching">{% tablericon "arrow-left" "Go back" %} Go back</a></p>
|
||||||
<h2 class="watching page-header">{{ title }}</h2>
|
<h2 class="watching page-header">{{ title }}</h2>
|
||||||
<p>These are my favorite movies. There are many like them, but these are mine.</p>
|
<p>These are my favorite movies. There are many like them, but these are mine.</p>
|
||||||
|
<hr class="large-spacing" />
|
||||||
{% render "partials/watching/favorites-grid.liquid", favorites:movies.favorites, count: 99 %}
|
{% render "partials/watching/favorites-grid.liquid", favorites:movies.favorites, count: 99 %}
|
|
@ -6,4 +6,5 @@ permalink: "/watching/favorite-shows/index.html"
|
||||||
<p><a class="link-icon flex-centered" href="/watching">{% tablericon "arrow-left" "Go back" %} Go back</a></p>
|
<p><a class="link-icon flex-centered" href="/watching">{% tablericon "arrow-left" "Go back" %} Go back</a></p>
|
||||||
<h2 class="watching page-header">{{ title }}</h2>
|
<h2 class="watching page-header">{{ title }}</h2>
|
||||||
<p>These are my favorite shows. There are many like them, but these are mine.</p>
|
<p>These are my favorite shows. There are many like them, but these are mine.</p>
|
||||||
|
<hr class="large-spacing" />
|
||||||
{% render "partials/watching/favorites-grid.liquid", favorites:tv.favorites, count: 99 %}
|
{% render "partials/watching/favorites-grid.liquid", favorites:tv.favorites, count: 99 %}
|
Reference in a new issue