Now page: grouping episodes of the same tv show
I made a minor update to how I'm normalizing TV data for display on my now page.
Drying up now page templates and normalizing data in Eleventy
My now page consists of a number of similar sections — some bespoke text, a number of media grids and lists. The text is repeated once, the lists are easily templated out in Liquid.js and the media grids are all quite similar. Given the prominence of the media grids on the page and the number of them I decided to consolidate them into a single template while also normalizing the data passed into them as best I could.
Displaying now playing data with matching emoji using Netlify edge functions and Eleventy
Road to madness: charting Apple Music listening data
I've written before about displaying my listening data from Apple Music but, recently, I've attempted to take things a bit further.
Displaying listening data from Apple Music using MusicKit.js
Up until now my now page has sourced music data from Last.fm (and may well again). But, in the interest in experimenting a bit, I've tried my hand at rewriting that part of the page to leverage data from Apple Music, using MusicKit.js instead.
Talk: Building a /now page with Eleventy
My talk from the Eleventy meetup about building my now page (you even get to see how much I resemble my avatar).
Lazy select-based pagination in Eleventy
I've relaunched, rebuilt and rewritten my personal blog more times than I can count, and I've had a trail of posts I've never fully migrated at each turn. This weekend, while relaxing and watching movies I ported them into Eleventy and, in doing so, found that the pagination implementation I was using didn't scale well with the number of pages I added.
Scheduled Eleventy builds on Vercel with cron-triggered GitHub actions
Building my /now page using Eleventy
Adding client-side rendered webmentions to my blog
My blog is currently hosted on weblog.lol which allows for a simple and configurable weblog managed in git with posts formatted in markdown. I wanted to add webmentions to my blog which, as of now, doesn't include a build step. To accomplish this, I've added an intermediary api endpoint to the same Next.js app that powers my /now page.
Automating (and probably overengineering) my /now page
Generating Jekyll posts using Drafts and Working Copy
I put together a script that will take a draft, grab the title and body and then prompt you for front matter data before sending the completed post off to Working Copy. It's specific to my site, and purposes, but it should be fairly straightforward and easy to adapt to your needs.