Skip to content
Snippets Groups Projects
Unverified Commit 1c3ada4e authored by Lukas Ruge's avatar Lukas Ruge
Browse files

descriptions are not sumaries in ics

parent b06211eb
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -10,7 +10,8 @@ METHOD:PUBLISH
UID:{{ event.uid }}
ORGANIZER;CN="Chaotikum e.V.":MAILTO:{{event.contact}}
LOCATION:Chaotikum{% capture textSize %}{{ event.short | size }}{% endcapture %}{% assign linelength = 60 %}{% assign rounds = textSize | divided_by: linelength %}{% assign extra = textSize | modulo: linelength %}{% assign start = 0 %}
SUMMARY:{% for i in (1..rounds) %}{{ event.short | slice: start, linelength }}{% assign start = start | plus: linelength %}
SUMMARY:{{ event.title | xml_escape }}
DESCRIPTION:{% for i in (1..rounds) %}{{ event.short | slice: start, linelength }}{% assign start = start | plus: linelength %}
{% endfor%}{{ event.short | slice: start, extra }}
CLASS:PUBLIC
DTSTART:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%S" }}Z
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment