diff --git a/package-lock.json b/package-lock.json index e8383c26..98d45102 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "22.1.2", "license": "MIT", "dependencies": { - "@cdransf/api-text": "^1.4.0", + "@cdransf/api-text": "^1.5.0", "@cdransf/select-pagination": "^1.3.1", "@cdransf/theme-toggle": "^1.3.2", "minisearch": "^7.1.0", @@ -283,9 +283,9 @@ } }, "node_modules/@cdransf/api-text": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@cdransf/api-text/-/api-text-1.4.0.tgz", - "integrity": "sha512-PW3D7DYcbwsHKCiiFhqEHeOEUt292o/TaEvSQYoyhXM2Z0/uFLe7k7xMHSrLmSxmalYr6cCtbaRxgN32u8+4QQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@cdransf/api-text/-/api-text-1.5.0.tgz", + "integrity": "sha512-asRvp2SjipL+np8IhK+rIJzggxexxENNZSuLSG2S8QcUxm2eVyOgQipwz/OY2cUt1D+RH5JrLoDI2pR1RP99KQ==", "license": "MIT" }, "node_modules/@cdransf/eleventy-plugin-tabler-icons": { diff --git a/package.json b/package.json index 850beb8c..8f59cffd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "22.1.2", + "version": "22.1.3", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { @@ -23,7 +23,7 @@ "author": "Cory Dransfeldt", "license": "MIT", "dependencies": { - "@cdransf/api-text": "^1.4.0", + "@cdransf/api-text": "^1.5.0", "@cdransf/select-pagination": "^1.3.1", "@cdransf/theme-toggle": "^1.3.2", "minisearch": "^7.1.0", diff --git a/src/includes/partials/blocks/now-playing.liquid b/src/includes/partials/blocks/now-playing.liquid index 922588f5..5ee3f2f8 100644 --- a/src/includes/partials/blocks/now-playing.liquid +++ b/src/includes/partials/blocks/now-playing.liquid @@ -1,5 +1,9 @@ - +

🎧 Loading...

+
\ No newline at end of file diff --git a/src/includes/partials/home/status.liquid b/src/includes/partials/home/status.liquid index a81d5587..9aa6e4e9 100644 --- a/src/includes/partials/home/status.liquid +++ b/src/includes/partials/home/status.liquid @@ -1,8 +1,8 @@ -{%- assign artist = artists | first -%} +{%- assign artist = music.week.artists | first -%} {%- assign book = books | bookStatus: 'started' | reverse | first -%} {%- 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 }}.

{{ status.emoji }} {{ status.content }}

- {% render "partials/blocks/now-playing.liquid" %} + {% render "partials/blocks/now-playing.liquid", music:music %}
\ No newline at end of file diff --git a/src/pages/dynamic/index.html b/src/pages/dynamic/index.html index ec56c426..a36537dc 100644 --- a/src/pages/dynamic/index.html +++ b/src/pages/dynamic/index.html @@ -2,6 +2,6 @@ layout: default permalink: / --- -{% render "partials/home/status.liquid" status:status, artists:music.week.artists, books:books.all, tv:tv %} +{% render "partials/home/status.liquid" status:status, music:music, books:books.all, tv:tv %} {% render "partials/home/posts.liquid" icon: "star", title: "Featured", postData:posts, postType: "featured" %} {% render "partials/home/posts.liquid" icon: "clock-hour-7", title: "Recent posts", postData:posts %} \ No newline at end of file