fix: assorted bugs
This commit is contained in:
parent
f0041e0525
commit
b936711d76
7 changed files with 12 additions and 7 deletions
|
@ -3,7 +3,7 @@ export default async function () {
|
|||
const feed = new ActivityFeed()
|
||||
|
||||
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/links')
|
||||
feed.addSource('rss', '🎧', 'https://coryd.dev/feeds/weekly-artist-chart')
|
||||
|
|
|
@ -47,6 +47,7 @@ export default async function () {
|
|||
const movie = {
|
||||
title: item['title'],
|
||||
lastWatched: item['last_watched'],
|
||||
dateAdded: item['last_watched'],
|
||||
year: item['year'],
|
||||
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>`,
|
||||
|
|
|
@ -81,6 +81,7 @@ export default async function () {
|
|||
tmdbId: showTmdbId,
|
||||
collected,
|
||||
favorite,
|
||||
dateAdded: lastWatchedAt,
|
||||
lastWatchedAt,
|
||||
episodes: []
|
||||
}
|
||||
|
@ -96,6 +97,7 @@ export default async function () {
|
|||
type: 'tv',
|
||||
image: `https://coryd.dev/media/shows/poster-${showTmdbId}.jpg`,
|
||||
backdrop: `https://coryd.dev/media/shows/backdrops/backdrop-${showTmdbId}.jpg`,
|
||||
dateAdded: 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>
|
||||
<h2 class="watching page-header">{{ title }}</h2>
|
||||
<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 %}
|
|
@ -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>
|
||||
<h2 class="watching page-header">{{ title }}</h2>
|
||||
<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 %}
|
Reference in a new issue