From 81860df47379436792df9f7318c6c6ad99858327 Mon Sep 17 00:00:00 2001 From: Lukas Ruge <lukeslog@googlemail.com> Date: Sun, 12 Aug 2018 13:23:30 +0200 Subject: [PATCH] o noes, a bunch mor variables --- events.ics | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/events.ics b/events.ics index b402e827..dded6579 100644 --- a/events.ics +++ b/events.ics @@ -11,7 +11,11 @@ UID:{{ event.uid }} ORGANIZER;CN="Chaotikum e.V.":MAILTO:{{event.contact}} LOCATION:Chaotikum {% capture textSize %}{{ event.short | size }}{% endcapture %} -{% assign rounds = textSize | divided_by: 70 | plus 1 %} +{% assign rounds = textSize | divided_by: 70 %} +{% assign extra = textSize | modulo: 70 %} +{% assign start = 0 %} +{% assign end = 70 %} +{% assign linelength = 70 %} SUMMARY:{{ rounds }}:{{ event.short }} CLASS:PUBLIC DTSTART:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%S" }}Z -- GitLab