Add title & desc for the calendar

This commit is contained in:
JP Hastings-Spital 2023-12-25 21:55:09 +00:00
parent 66f605d3cb
commit 338d8b9834
2 changed files with 3 additions and 0 deletions

View file

@ -5,6 +5,7 @@ outputs:
- html
- calendar
- rss
summary: Some events I'm thinking of going to — get in touch if you'd like to join me!
---
I enjoy making new friends, and hanging out with the folks I already know and love. Below is a calendar of events I'm thinking of going to — if you'd like to come with me, get in touch and perhaps we can go together!

View file

@ -2,6 +2,8 @@ BEGIN:VCALENDAR
CALSCALE:GREGORIAN
VERSION:2.0
PRODID:-//www.byjp.me
X-WR-CALNAME:{{ .Title }} byJP
X-WR-CALDESC:{{ .Summary | replaceRE "(.{61})(.*)" "$1\r\n $2" | replaceRE "( [^\r\n]{72})([^\r\n]*)" "$1\r\n $2" }}
{{- range .Data.Pages}}
BEGIN:VEVENT
UID:byjp{{replace .Page.RelPermalink "/" "-"}}