fix: cleanup
This commit is contained in:
parent
f03cee9c5a
commit
df36cd266c
25 changed files with 29 additions and 29 deletions
|
@ -6,4 +6,4 @@ This is the code for my personal website and portfolio. Built using [11ty](https
|
|||
|
||||
[](https://social.lol/@cory) [](https://www.buymeacoffee.com/cory) [](https://eleventy.dev)
|
||||
|
||||
[Music](https://coryd.dev/music) • [Watching](https://coryd.dev/watching) • [Books](https://coryd.dev/books) • [Now](https://coryd.dev/now)
|
||||
[Music](https://coryd.dev/music) / [Watching](https://coryd.dev/watching) / [Books](https://coryd.dev/books) / [Now](https://coryd.dev/now)
|
||||
|
|
|
@ -141,7 +141,7 @@ export default {
|
|||
if (item.type === 'album-release') {
|
||||
normalized['title'] = item['title']
|
||||
normalized['alt'] = `${item['title']} by ${item['artist']}`
|
||||
normalized['subtext'] = `${item['artist']} • ${item['date']}`
|
||||
normalized['subtext'] = `${item['artist']} / ${item['date']}`
|
||||
}
|
||||
if (item.type === 'movie') {
|
||||
normalized['title'] = item['title']
|
||||
|
|
|
@ -91,7 +91,7 @@ export default async function () {
|
|||
showEpisodesMap[showTmdbId].episodes.push({
|
||||
name: showTitle,
|
||||
url: `/watching/shows/${showTmdbId}`,
|
||||
subtext: `${showTitle} • S${seasonNumber}E${episodeNumber}`,
|
||||
subtext: `${showTitle} / S${seasonNumber}E${episodeNumber}`,
|
||||
episode: episodeNumber,
|
||||
season: seasonNumber,
|
||||
tmdbId: showTmdbId,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<nav aria-label="Secondary site navigation" class="sub-pages flex-centered justify-centered text-centered">
|
||||
{% for link in nav.footer %}
|
||||
{% render "partials/nav/link.liquid", page:page, link:link.name, icon:link.icon %}
|
||||
{% if not forloop.last %}<span>•</span>{% endif %}
|
||||
{% if not forloop.last %}<span>/</span>{% endif %}
|
||||
{% endfor %}
|
||||
</nav>
|
||||
</footer>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<div class="title">
|
||||
<a href="{{ item.url }}">{{ item.title }}</a>
|
||||
</div>
|
||||
<div class="subtext">{{ item.artist }} • {{ item.plays }} plays</div>
|
||||
<div class="subtext">{{ item.artist }}: {{ item.plays }} plays</div>
|
||||
</div>
|
||||
</div>
|
||||
{% render "partials/media/progress-bar.liquid", percentage:percentage %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Currently reading • Books
|
||||
title: Currently reading / Books
|
||||
description: Here's what I'm reading at the moment.
|
||||
layout: default
|
||||
permalink: "/books/index.html"
|
||||
|
@ -10,7 +10,7 @@ schema: books
|
|||
{%- assign currentBookCount = books | currentBookCount -%}
|
||||
<h2 class="page-header">Currently reading</h2>
|
||||
<p>Here's what I'm reading at the moment. I've finished <strong class="highlight-text">{{ currentBookCount }} books</strong> this year.</p>
|
||||
<p><a href="/books/years/2024">2024</a> • <a href="/books/years/2023">2023</a> • <a href="/books/years/2022">2022</a> • <a href="/books/years/2021">2021</a> • <a href="/books/years/2020">2020</a></p>
|
||||
<p><a href="/books/years/2024">2024</a> / <a href="/books/years/2023">2023</a> / <a href="/books/years/2022">2022</a> / <a href="/books/years/2021">2021</a> / <a href="/books/years/2020">2020</a></p>
|
||||
{% render "partials/banners/rss.liquid", url: "https://feedpress.me/coryd-books", text: "Subscribe to my books feed or follow along on this page" %}
|
||||
<hr class="large-spacing" />
|
||||
{% for book in bookData %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: 2020 • Books
|
||||
title: 2020 / Books
|
||||
description: "This is everything I read in 2020. My favorites were: every book in The Expanse series and I'll Be Gone in the Dark. I finished 34 books in 2020."
|
||||
year: 2020
|
||||
layout: partials/media/books/year
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: 2021 • Books
|
||||
title: 2021 / Books
|
||||
description: "This is everything I read in 2021. My favorites were: This Is How They Tell Me The World Ends, Sandworm, Empire of Pain, Say Nothing, Sigh, Gone and Leviathan Falls. I finished 53 books in 2021."
|
||||
year: 2021
|
||||
layout: partials/media/books/year
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: 2022 • Books
|
||||
title: 2022 / Books
|
||||
description: "This is everything I read in 2022. My favorites were: Sellout, The Sins of Our Fathers, Drive, Adnan's Story and The Lazarus Heist. I finished 67 books in 2022."
|
||||
year: 2022
|
||||
layout: partials/media/books/year
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: 2023 • Books
|
||||
title: 2023 / Books
|
||||
description: "This is everything I read in 2023. My favorites were: Stay True, Where Are Your Boys Tonight?, Trouble Boys, Tracers in the Dark and Girl in a Band. I finished 69 books in 2023."
|
||||
year: 2023
|
||||
layout: partials/media/books/year
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: 2024 • Books
|
||||
title: 2024 / Books
|
||||
description: "Here's what I'm reading at the moment."
|
||||
year: 2024
|
||||
layout: partials/media/books/year
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Albums • 3 months
|
||||
title: Albums / 3 months
|
||||
description: All of the albums I've listened to over the last 3 months.
|
||||
layout: default
|
||||
pagination:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Albums • This month
|
||||
title: Albums / This month
|
||||
description: All of the albums I've listened to over the past month.
|
||||
layout: default
|
||||
pagination:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Albums • This week
|
||||
title: Albums / This week
|
||||
description: All of the albums I've listened to this week.
|
||||
layout: default
|
||||
pagination:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Artists • 3 months
|
||||
title: Artists / 3 months
|
||||
description: All of the artists I've listened to over the last 3 months.
|
||||
layout: default
|
||||
pagination:
|
||||
|
|
|
@ -9,7 +9,7 @@ updated: "now"
|
|||
schema: artist
|
||||
---
|
||||
{%- capture alt -%}
|
||||
{{ artist.name_string }} • {{ artist.country }}
|
||||
{{ artist.name_string }} / {{ artist.country }}
|
||||
{%- endcapture -%}
|
||||
{% capture js %}
|
||||
{% render "../../../../assets/scripts/text-toggle.js" %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Artists • This month
|
||||
title: Artists / This month
|
||||
description: All of the artists I've listened to over the past month.
|
||||
layout: default
|
||||
pagination:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Artists • This week
|
||||
title: Artists / This week
|
||||
description: All of the artists I've listened to this week.
|
||||
layout: default
|
||||
pagination:
|
||||
|
|
|
@ -35,7 +35,7 @@ schema: music-index
|
|||
<div class="hidden" id="artists-three-months">
|
||||
{% render "partials/media/grid.liquid", data:music.threeMonth.artists, shape: "square", count: 8 %}
|
||||
</div>
|
||||
<p><strong class="highlight-text">More:</strong> <a href="/music/artists/this-week/" title="Artists listened to this week">This week</a> • <a href="/music/artists/this-month/" title="Artists listened to this month">This month</a> • <a href="/music/artists/three-months/" title="Artists listened to in the last 3 months">3 months</a></p>
|
||||
<p><strong class="highlight-text">More:</strong> <a href="/music/artists/this-week/" title="Artists listened to this week">This week</a> / <a href="/music/artists/this-month/" title="Artists listened to this month">This month</a> / <a href="/music/artists/three-months/" title="Artists listened to in the last 3 months">3 months</a></p>
|
||||
<div class="section-header-wrapper">
|
||||
<h2 id="albums" class="section-header reduced-margin flex-centered">
|
||||
{% tablericon "vinyl" "Albums" %}
|
||||
|
@ -56,7 +56,7 @@ schema: music-index
|
|||
<div class="hidden" id="albums-three-months">
|
||||
{% render "partials/media/grid.liquid", data:music.threeMonth.albums, shape: "square", count: 8 %}
|
||||
</div>
|
||||
<p><strong class="highlight-text">More:</strong> <a href="/music/albums/this-week/" title="Albums listened to this week">This week</a> • <a href="/music/albums/this-month/" title="Albums listened to this month">This month</a> • <a href="/music/albums/three-months/" title="Albums listened to in the last 3 months">3 months</a></p>
|
||||
<p><strong class="highlight-text">More:</strong> <a href="/music/albums/this-week/" title="Albums listened to this week">This week</a> / <a href="/music/albums/this-month/" title="Albums listened to this month">This month</a> / <a href="/music/albums/three-months/" title="Albums listened to in the last 3 months">3 months</a></p>
|
||||
<div class="section-header-wrapper">
|
||||
<h2 id="tracks" class="section-header reduced-margin flex-centered">
|
||||
{% tablericon "playlist" "Tracks" %}
|
||||
|
@ -81,7 +81,7 @@ schema: music-index
|
|||
<div class="hidden" id="tracks-three-months">
|
||||
{% render "partials/media/music/chart.liquid", data:music.threeMonth.tracks, mostPlayed:music.threeMonth.tracks[0].plays, count: 10 %}
|
||||
</div>
|
||||
<p><strong class="highlight-text">More:</strong> <a href="/music/tracks/this-week/" title="Tracks listened to this week">This week</a> • <a href="/music/tracks/this-month/" title="Tracks listened to this month">This month</a> • <a href="/music/tracks/three-months/" title="Tracks listened to in the last 3 months">3 months</a></p>
|
||||
<p><strong class="highlight-text">More:</strong> <a href="/music/tracks/this-week/" title="Tracks listened to this week">This week</a> / <a href="/music/tracks/this-month/" title="Tracks listened to this month">This month</a> / <a href="/music/tracks/three-months/" title="Tracks listened to in the last 3 months">3 months</a></p>
|
||||
{% if albumReleases.size > 0 %}
|
||||
<h2 id="album-releases" class="section-header flex-centered">
|
||||
{% tablericon "calendar-time" "Anticipated albums" %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Tracks • 3 months
|
||||
title: Tracks / 3 months
|
||||
description: All of the tracks I've listened to over the last 3 months.
|
||||
layout: default
|
||||
pagination:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Tracks • This month
|
||||
title: Tracks / This month
|
||||
description: All of the tracks I've listened to over the past month.
|
||||
layout: default
|
||||
pagination:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Tracks • This week
|
||||
title: Tracks / This week
|
||||
description: All of the tracks I've listened to this week.
|
||||
layout: default
|
||||
pagination:
|
||||
|
|
|
@ -8,7 +8,7 @@ permalink: /watching/movies/{{ movie.id }}/index.html
|
|||
schema: movie
|
||||
---
|
||||
{%- capture alt -%}
|
||||
{{ movie.title }} • {{ movie.year }}{% if move.rating %} ({{ movie.rating }}){% endif %}
|
||||
{{ movie.title }} / {{ movie.year }}{% if move.rating %} ({{ movie.rating }}){% endif %}
|
||||
{%- endcapture -%}
|
||||
<a class="back-link-header link-icon flex-centered" href="/watching" title="Go back to the watching index page">{% tablericon "arrow-left" "Go back" %} Go back</a>
|
||||
<article class="watching-focus">
|
||||
|
|
|
@ -8,7 +8,7 @@ permalink: /watching/shows/{{ show.tmdb_id }}/index.html
|
|||
schema: show
|
||||
---
|
||||
{%- capture alt -%}
|
||||
{{ show.title }} • {{ show.year }}
|
||||
{{ show.title }} / {{ show.year }}
|
||||
{%- endcapture -%}
|
||||
{% assign lastWatched = show | getLastWatched %}
|
||||
<a class="back-link-header link-icon flex-centered" href="/watching" title="Go back to the watching index page">{% tablericon "arrow-left" "Go back" %} Go back</a>
|
||||
|
|
|
@ -24,10 +24,10 @@ description: These are awesome blogs that I enjoy and you may enjoy too.
|
|||
—
|
||||
{%- endif -%}
|
||||
{%- if blog.json_feed -%}
|
||||
• <a href="{{ blog.json_feed }}">{% tablericon "json" "Subscribe via JSON" %}</a>
|
||||
/ <a href="{{ blog.json_feed }}">{% tablericon "json" "Subscribe via JSON" %}</a>
|
||||
{%- endif -%}
|
||||
{%- if blog.newsletter -%}
|
||||
• <a href="{{ blog.newsletter }}">{% tablericon "mail-plus" "Newsletter subscription" %}</a>
|
||||
/ <a href="{{ blog.newsletter }}">{% tablericon "mail-plus" "Newsletter subscription" %}</a>
|
||||
{%- endif -%}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Reference in a new issue