mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Handles most long lines
This commit is contained in:
parent
aa931ed39c
commit
ef21f9f216
2 changed files with 5 additions and 5 deletions
|
@ -13,9 +13,10 @@ DURATION:{{ .duration }}
|
|||
LOCATION:{{.Page.Params.location.name}}
|
||||
GEO:{{.Page.Params.location.latitude}};{{.Page.Params.location.longitude}}
|
||||
SUMMARY:{{.Page.Title}}
|
||||
DESCRIPTION:{{ .Page.Summary }}
|
||||
URL:{{.Page.Params.link}}
|
||||
ATTENDEE;CUTYPE=INDIVIDUAL;CN={{site.Author.name}};PARTSTAT={{ if .Page.Params.attending }}ACCEPTED{{else}}NEEDS-ACTION{{end}}:MAILTO:{{ site.Author.email}}
|
||||
DESCRIPTION:{{ .Page.Summary | replaceRE "(.{62})(.*)" "$1\r\n $2" | replaceRE "( [^\r\n]{72})([^\r\n]*)" "$1\r\n $2" }}
|
||||
URL:{{.Page.Params.link | replaceRE "(.{70})(.*)" "$1\r\n $2" | replaceRE "( [^\r\n]{72})([^\r\n]*)" "$1\r\n $2" }}
|
||||
ATTENDEE;CUTYPE=INDIVIDUAL;CN={{site.Author.name}};
|
||||
PARTSTAT={{ if .Page.Params.attending }}ACCEPTED{{else}}NEEDS-ACTION{{end}}:MAILTO:{{ site.Author.email}}
|
||||
END:VEVENT
|
||||
{{- end }}
|
||||
END:VCALENDAR
|
3
todo.md
3
todo.md
|
@ -1,5 +1,4 @@
|
|||
|
||||
Add single.html for Calendar
|
||||
Support repeating calendar events
|
||||
Handle long lines
|
||||
Handle long lines {cm:2023-12-24}
|
||||
Ensure ICS files have CRLF endings {cm:2023-12-22}
|
Loading…
Reference in a new issue