mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 14:55:41 +01:00
Add title & desc for the calendar
This commit is contained in:
parent
66f605d3cb
commit
338d8b9834
2 changed files with 3 additions and 0 deletions
|
@ -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!
|
||||
|
|
|
@ -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 "/" "-"}}
|
||||
|
|
Loading…
Reference in a new issue