feat: album releases calendar

This commit is contained in:
Cory Dransfeldt 2024-08-06 12:50:40 -07:00
parent 07c7bdec24
commit c9156f2346
No known key found for this signature in database
4 changed files with 27 additions and 3 deletions

View file

@ -0,0 +1,18 @@
---
layout: null
eleventyExcludeFromCollections: true
permalink: "/music/releases.ics"
---
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:-//coryd.dev//Album Releases//EN
{%- for album in albumReleases %}
BEGIN:VEVENT
SUMMARY:Release: {{ album.artist }} / {{ album.title }}
DTSTART;VALUE=DATE:{{ album.date }}
DESCRIPTION:Check out this new album release: {{ album.url }}
URL;VALUE=URI:{{ album.url }}
END:VEVENT
{%- endfor -%}
END:VCALENDAR