From 1c3ada4ea9c2ea1ee4b7ad3d514f2f2a20ef974f Mon Sep 17 00:00:00 2001 From: Lukas Ruge <lukeslog@googlemail.com> Date: Sun, 12 Aug 2018 14:24:51 +0200 Subject: [PATCH] descriptions are not sumaries in ics --- events.ics | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/events.ics b/events.ics index 861d33c6..39a434d1 100644 --- a/events.ics +++ b/events.ics @@ -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 -- GitLab