mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 02:26:08 +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}}
|
LOCATION:{{.Page.Params.location.name}}
|
||||||
GEO:{{.Page.Params.location.latitude}};{{.Page.Params.location.longitude}}
|
GEO:{{.Page.Params.location.latitude}};{{.Page.Params.location.longitude}}
|
||||||
SUMMARY:{{.Page.Title}}
|
SUMMARY:{{.Page.Title}}
|
||||||
DESCRIPTION:{{ .Page.Summary }}
|
DESCRIPTION:{{ .Page.Summary | replaceRE "(.{62})(.*)" "$1\r\n $2" | replaceRE "( [^\r\n]{72})([^\r\n]*)" "$1\r\n $2" }}
|
||||||
URL:{{.Page.Params.link}}
|
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}}
|
ATTENDEE;CUTYPE=INDIVIDUAL;CN={{site.Author.name}};
|
||||||
|
PARTSTAT={{ if .Page.Params.attending }}ACCEPTED{{else}}NEEDS-ACTION{{end}}:MAILTO:{{ site.Author.email}}
|
||||||
END:VEVENT
|
END:VEVENT
|
||||||
{{- end }}
|
{{- end }}
|
||||||
END:VCALENDAR
|
END:VCALENDAR
|
3
todo.md
3
todo.md
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
Add single.html for Calendar
|
Add single.html for Calendar
|
||||||
Support repeating calendar events
|
Support repeating calendar events
|
||||||
Handle long lines
|
Handle long lines {cm:2023-12-24}
|
||||||
Ensure ICS files have CRLF endings {cm:2023-12-22}
|
Ensure ICS files have CRLF endings {cm:2023-12-22}
|
Loading…
Reference in a new issue