diff --git a/package-lock.json b/package-lock.json
index a5b9ff02..db3274ce 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "coryd.dev",
- "version": "16.0.1",
+ "version": "16.0.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
- "version": "16.0.1",
+ "version": "16.0.2",
"license": "MIT",
"dependencies": {
"@cdransf/api-text": "^1.2.2",
@@ -1158,9 +1158,9 @@
"integrity": "sha512-6AMQ/tl6uI3wXknv8exYJguym/bPHxIW5XOYg7aWCQtMbP4XUDAsWp2pv4o9wtesIF8K7CssNPR93qFOh7D8lw=="
},
"node_modules/@emnapi/runtime": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.1.1.tgz",
- "integrity": "sha512-3bfqkzuR1KLx57nZfjr2NLnFOobvyS0aTszaEGCGqmYMVDRaGvgIZbjGSV/MHSSmLgQ/b9JFHQ5xm5WRZYd+XQ==",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.2.0.tgz",
+ "integrity": "sha512-bV21/9LQmcQeCPEg3BDFtvwL6cwiTMksYNWQQ4KOxCZikEGalWtenoZ0wCiukJINlGCIi2KXx01g4FoH/LxpzQ==",
"dev": true,
"optional": true,
"dependencies": {
diff --git a/package.json b/package.json
index 03c4e626..ac91d33a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "coryd.dev",
- "version": "16.0.1",
+ "version": "16.0.2",
"description": "The source for my personal site. Built using 11ty.",
"type": "module",
"scripts": {
diff --git a/src/_includes/book-year.liquid b/src/_includes/book-year.liquid
index 3c734229..c45b9212 100644
--- a/src/_includes/book-year.liquid
+++ b/src/_includes/book-year.liquid
@@ -14,4 +14,4 @@ layout: default
I finished {{ bookData.size }} books in {{ year }}
{% endif %}
-{% render "partials/now/media-grid.liquid", data:bookData, shape: "vertical", count: 200, loading: "eager" %}
\ No newline at end of file
+{% render "partials/media/grid.liquid", data:bookData, shape: "vertical", count: 200, loading: "eager" %}
\ No newline at end of file
diff --git a/src/_includes/partials/home/status.liquid b/src/_includes/partials/home/status.liquid
index cee88362..2e233518 100644
--- a/src/_includes/partials/home/status.liquid
+++ b/src/_includes/partials/home/status.liquid
@@ -3,6 +3,6 @@
{%- assign show = tv.recentlyWatched | first -%}
I'm a software developer based in Camarillo, California. I enjoy hanging out with my beautiful family and 3 rescue dogs, technology, automation, music, writing, reading, tv and movies. Lately I've been listening to a lot of {{ artist.title }}, reading {{ book.title }} and watching {{ show.name }}.
- {% render "partials/now/status.liquid", status:status %}
+
{{ status.emoji }} {{ status.content }}
{% render "partials/widgets/now-playing.liquid" %}
\ No newline at end of file
diff --git a/src/_includes/partials/now/album-releases.liquid b/src/_includes/partials/media/album-releases.liquid
similarity index 100%
rename from src/_includes/partials/now/album-releases.liquid
rename to src/_includes/partials/media/album-releases.liquid
diff --git a/src/_includes/partials/now/media-grid.liquid b/src/_includes/partials/media/grid.liquid
similarity index 100%
rename from src/_includes/partials/now/media-grid.liquid
rename to src/_includes/partials/media/grid.liquid
diff --git a/src/_includes/partials/now/progress-bar.liquid b/src/_includes/partials/media/progress-bar.liquid
similarity index 100%
rename from src/_includes/partials/now/progress-bar.liquid
rename to src/_includes/partials/media/progress-bar.liquid
diff --git a/src/_includes/partials/now/track-chart.liquid b/src/_includes/partials/media/track-chart.liquid
similarity index 87%
rename from src/_includes/partials/now/track-chart.liquid
rename to src/_includes/partials/media/track-chart.liquid
index fd4c84bf..7ef68f48 100644
--- a/src/_includes/partials/now/track-chart.liquid
+++ b/src/_includes/partials/media/track-chart.liquid
@@ -12,7 +12,7 @@
{{ item.artist }} • {{ item.plays }} plays
- {% render "partials/now/progress-bar.liquid", percentage:percentage %}
+ {% render "partials/media/progress-bar.liquid", percentage:percentage %}
{% endfor %}
diff --git a/src/_includes/partials/now/tracks-recent.liquid b/src/_includes/partials/media/tracks-recent.liquid
similarity index 100%
rename from src/_includes/partials/now/tracks-recent.liquid
rename to src/_includes/partials/media/tracks-recent.liquid
diff --git a/src/_includes/partials/now/status.liquid b/src/_includes/partials/now/status.liquid
deleted file mode 100644
index 7c0b9679..00000000
--- a/src/_includes/partials/now/status.liquid
+++ /dev/null
@@ -1 +0,0 @@
-{{ status.emoji }} {{ status.content }}
\ No newline at end of file
diff --git a/src/_includes/partials/widgets/post-graph.liquid b/src/_includes/partials/widgets/post-graph.liquid
deleted file mode 100644
index b15fc6a0..00000000
--- a/src/_includes/partials/widgets/post-graph.liquid
+++ /dev/null
@@ -1,10 +0,0 @@
-
- {% assign years = postYears | reverse %}
- {%- for year in years %}
-
-
{{ year.year }}
-
-
{{ year.postCount }}
-
- {% endfor %}
-
\ No newline at end of file
diff --git a/src/assets/styles/components/post-graph.css b/src/assets/styles/components/post-graph.css
deleted file mode 100644
index 6bc041c1..00000000
--- a/src/assets/styles/components/post-graph.css
+++ /dev/null
@@ -1,25 +0,0 @@
-.post-graph {
- margin-top: var(--sizing-base);
- margin-bottom: var(--sizing-base);
-
- & .wrapper {
- display: flex;
- align-items: center;
- height: var(--sizing-3xl);
- margin-bottom: var(--sizing-sm);
-
- & .year {
- font-family: var(--font-mono);
- }
-
- & .progress {
- background-color: var(--accent-color);
- height: 100%;
- }
-
- & .progress,
- & .data {
- margin-left: var(--sizing-sm);
- }
- }
-}
\ No newline at end of file
diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css
index c2cb7bf7..e81f9fe9 100644
--- a/src/assets/styles/index.css
+++ b/src/assets/styles/index.css
@@ -36,7 +36,6 @@
@import url('./components/media-grid.css') layer(components);
@import url('./components/menu.css') layer(components);
@import url('./components/paginator.css') layer(components);
-@import url('./components/post-graph.css') layer(components);
@import url('./components/progress-bar.css') layer(components);
@import url('./components/share-button.css') layer(components);
@import url('./components/theme-toggle.css') layer(components);
diff --git a/src/pages/main/music/index.html b/src/pages/main/music/index.html
index 442fce83..97d92b5c 100644
--- a/src/pages/main/music/index.html
+++ b/src/pages/main/music/index.html
@@ -24,16 +24,16 @@ permalink: "/music/index.html"
- {% render "partials/now/media-grid.liquid", data:music.week.artists, shape: "square", count: 8, loading: "eager" %}
+ {% render "partials/media/grid.liquid", data:music.week.artists, shape: "square", count: 8, loading: "eager" %}
- {% render "partials/now/media-grid.liquid", data:music.month.artists, shape: "square", count: 8 %}
+ {% render "partials/media/grid.liquid", data:music.month.artists, shape: "square", count: 8 %}
- {% render "partials/now/media-grid.liquid", data:music.threeMonth.artists, shape: "square", count: 8 %}
+ {% render "partials/media/grid.liquid", data:music.threeMonth.artists, shape: "square", count: 8 %}
- {% render "partials/now/media-grid.liquid", data:music.allTime.artists, shape: "square", count: 8 %}
+ {% render "partials/media/grid.liquid", data:music.allTime.artists, shape: "square", count: 8 %}
More: This week • This month • 3 months • All time
- {% render "partials/now/media-grid.liquid", data:music.week.albums, shape: "square", count: 8 %}
+ {% render "partials/media/grid.liquid", data:music.week.albums, shape: "square", count: 8 %}
- {% render "partials/now/media-grid.liquid", data:music.month.albums, shape: "square", count: 8 %}
+ {% render "partials/media/grid.liquid", data:music.month.albums, shape: "square", count: 8 %}
- {% render "partials/now/media-grid.liquid", data:music.threeMonth.albums, shape: "square", count: 8 %}
+ {% render "partials/media/grid.liquid", data:music.threeMonth.albums, shape: "square", count: 8 %}
- {% render "partials/now/media-grid.liquid", data:music.allTime.albums, shape: "square", count: 8 %}
+ {% render "partials/media/grid.liquid", data:music.allTime.albums, shape: "square", count: 8 %}
More: This week • This month • 3 months • All time
- {% render "partials/now/tracks-recent.liquid", data:music.recent.tracksChronological %}
+ {% render "partials/media/tracks-recent.liquid", data:music.recent.tracksChronological %}
- {% render "partials/now/track-chart.liquid", data:music.week.tracks, mostPlayed:music.week.tracks[0].plays %}
+ {% render "partials/media/track-chart.liquid", data:music.week.tracks, mostPlayed:music.week.tracks[0].plays %}
- {% render "partials/now/track-chart.liquid", data:music.month.tracks, mostPlayed:music.month.tracks[0].plays %}
+ {% render "partials/media/track-chart.liquid", data:music.month.tracks, mostPlayed:music.month.tracks[0].plays %}
- {% render "partials/now/track-chart.liquid", data:music.threeMonth.tracks, mostPlayed:music.threeMonth.tracks[0].plays %}
+ {% render "partials/media/track-chart.liquid", data:music.threeMonth.tracks, mostPlayed:music.threeMonth.tracks[0].plays %}
- {% render "partials/now/track-chart.liquid", data:music.allTime.tracks, mostPlayed:music.allTime.tracks[0].plays %}
+ {% render "partials/media/track-chart.liquid", data:music.allTime.tracks, mostPlayed:music.allTime.tracks[0].plays %}
More: This week • This month • 3 months • All time
-{% render "partials/now/album-releases.liquid", albumReleases:albumReleases %}
+{% render "partials/media/album-releases.liquid", albumReleases:albumReleases %}
This page was last updated on {{ "now" | date: "%B %-d, %-I:%M%p", "America/Los_Angeles" }}. It typically updates once an hour.
\ No newline at end of file
diff --git a/src/pages/main/music/tracks/3-months.html b/src/pages/main/music/tracks/3-months.html
index 3369c53d..af26eccb 100644
--- a/src/pages/main/music/tracks/3-months.html
+++ b/src/pages/main/music/tracks/3-months.html
@@ -24,7 +24,7 @@ permalink: "/music/tracks/three-months/{% if pagination.pageNumber > 0 %}{{ pagi
{{ item.artist }} • {{ item.plays }} plays
- {% render "partials/now/progress-bar.liquid", percentage:percentage %}
+ {% render "partials/media/progress-bar.liquid", percentage:percentage %}
{% endfor %}
diff --git a/src/pages/main/music/tracks/all-time.html b/src/pages/main/music/tracks/all-time.html
index 5718b9ce..1bf793be 100644
--- a/src/pages/main/music/tracks/all-time.html
+++ b/src/pages/main/music/tracks/all-time.html
@@ -24,7 +24,7 @@ permalink: "/music/tracks/all-time/{% if pagination.pageNumber > 0 %}{{ paginati
{{ item.artist }} • {{ item.plays }} plays
- {% render "partials/now/progress-bar.liquid", percentage:percentage %}
+ {% render "partials/media/progress-bar.liquid", percentage:percentage %}
{% endfor %}
diff --git a/src/pages/main/music/tracks/this-month.html b/src/pages/main/music/tracks/this-month.html
index dc3157c0..b38b9286 100644
--- a/src/pages/main/music/tracks/this-month.html
+++ b/src/pages/main/music/tracks/this-month.html
@@ -24,7 +24,7 @@ permalink: "/music/tracks/this-month/{% if pagination.pageNumber > 0 %}{{ pagina
{{ item.artist }} • {{ item.plays }} plays
- {% render "partials/now/progress-bar.liquid", percentage:percentage %}
+ {% render "partials/media/progress-bar.liquid", percentage:percentage %}
{% endfor %}
diff --git a/src/pages/main/music/tracks/this-week.html b/src/pages/main/music/tracks/this-week.html
index 74167a39..42871fac 100644
--- a/src/pages/main/music/tracks/this-week.html
+++ b/src/pages/main/music/tracks/this-week.html
@@ -24,7 +24,7 @@ permalink: "/music/tracks/this-week/{% if pagination.pageNumber > 0 %}{{ paginat
{{ item.artist }} • {{ item.plays }} plays
- {% render "partials/now/progress-bar.liquid", percentage:percentage %}
+ {% render "partials/media/progress-bar.liquid", percentage:percentage %}
{% endfor %}
diff --git a/src/pages/main/watching/index.html b/src/pages/main/watching/index.html
index 3fa246da..c2eea2fa 100644
--- a/src/pages/main/watching/index.html
+++ b/src/pages/main/watching/index.html
@@ -12,12 +12,12 @@ permalink: "/watching/index.html"
{% tablericon "movie" "Recent movies" %}
Recent movies
-{% render "partials/now/media-grid.liquid", data:movies.recentlyWatched, shape: "vertical", count: 6 %}
+{% render "partials/media/grid.liquid", data:movies.recentlyWatched, shape: "vertical", count: 6 %}
-{% render "partials/now/media-grid.liquid", data:tv.recentlyWatched, shape: "vertical", count: 6 %}
+{% render "partials/media/grid.liquid", data:tv.recentlyWatched, shape: "vertical", count: 6 %}
-{% render "partials/now/media-grid.liquid", data:roundups['2023'].books, shape: "vertical", count: 6 %}
+{% render "partials/media/grid.liquid", data:roundups['2023'].books, shape: "vertical", count: 6 %}
-{% render "partials/now/media-grid.liquid", data:roundups['2023'].albums, shape: "square", count: 8 %}
+{% render "partials/media/grid.liquid", data:roundups['2023'].albums, shape: "square", count: 8 %}
I wrote some things:
diff --git a/src/posts/2023/drying-up-now-page-templates-eleventy.md b/src/posts/2023/drying-up-now-page-templates-eleventy.md
index 04123358..9cd09a89 100644
--- a/src/posts/2023/drying-up-now-page-templates-eleventy.md
+++ b/src/posts/2023/drying-up-now-page-templates-eleventy.md
@@ -119,7 +119,7 @@ Now, leveraging this looks like the following:
{% raw %}
```liquid
-{% render "partials/now/media-grid.liquid", data:artists, icon: "microphone-2", title: "Artists", shape: "square", count: 8, loading: 'eager' %}
+{% render "partials/media/grid.liquid", data:artists, icon: "microphone-2", title: "Artists", shape: "square", count: 8, loading: 'eager' %}
```
{% endraw %}
@@ -134,13 +134,13 @@ layout: main
---
{% render "partials/header.liquid", meta: meta, page: page, nav: nav %}
{{ content }}
-{% render "partials/now/media-grid.liquid", data:artists, icon: "microphone-2", title: "Artists", shape: "square", count: 8, loading: 'eager' %}
-{% render "partials/now/media-grid.liquid", data:albums, icon: "vinyl", title: "Albums", shape: "square", count: 8, loading: 'lazy' %}
-{% render "partials/now/album-releases.liquid", albumReleases:albumReleases %}
-{% render "partials/now/media-grid.liquid", data:books, icon: "books", title: "Books", shape: "vertical", count: 6, loading: 'lazy' %}
+{% render "partials/media/grid.liquid", data:artists, icon: "microphone-2", title: "Artists", shape: "square", count: 8, loading: 'eager' %}
+{% render "partials/media/grid.liquid", data:albums, icon: "vinyl", title: "Albums", shape: "square", count: 8, loading: 'lazy' %}
+{% render "partials/media/album-releases.liquid", albumReleases:albumReleases %}
+{% render "partials/media/grid.liquid", data:books, icon: "books", title: "Books", shape: "vertical", count: 6, loading: 'lazy' %}
{% render "partials/now/links.liquid", links:links %}
-{% render "partials/now/media-grid.liquid", data:movies, icon: "movie", title: "Movies", shape: "vertical", count: 6, loading: 'lazy' %}
-{% render "partials/now/media-grid.liquid", data:tv, icon: "device-tv", title: "TV", shape: "vertical", count: 6, loading: 'lazy' %}
+{% render "partials/media/grid.liquid", data:movies, icon: "movie", title: "Movies", shape: "vertical", count: 6, loading: 'lazy' %}
+{% render "partials/media/grid.liquid", data:tv, icon: "device-tv", title: "TV", shape: "vertical", count: 6, loading: 'lazy' %}
This is a
now page, and if you have your own site,
you should make one too.