feat: album releases calendar
This commit is contained in:
parent
07c7bdec24
commit
c9156f2346
4 changed files with 27 additions and 3 deletions
18
src/pages/feeds/releases.liquid
Normal file
18
src/pages/feeds/releases.liquid
Normal 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
|
Reference in a new issue