chore: music api

This commit is contained in:
Cory Dransfeldt 2024-04-03 13:54:49 -07:00
parent 09f7478113
commit d9fdcad1f1
No known key found for this signature in database
2 changed files with 11 additions and 0 deletions

9
src/pages/music.liquid Normal file
View file

@ -0,0 +1,9 @@
---
title: Music
layout: default
permalink: /music.html
description: "See what I'm listening to."
---
{%- assign artist = music.artists | first -%}
{%- assign album = music.albums | first -%}
Lately I've been listening to a lot of <strong class="highlight-text">{{ artist.title }}</strong>, and the album <strong class="highlight-text">{{ album.title }}</strong>. The last track I listened to was <strong class="highlight-text">{{ music.nowPlaying.track }}</strong> by <strong class="highlight-text">{{ music.nowPlaying.artist }}</strong>.