From 6eb262d732fa7f746bb0263193f9fc1d705e6515 Mon Sep 17 00:00:00 2001 From: Lukas Ruge <lukeslog@googlemail.com> Date: Sun, 12 Aug 2018 13:07:44 +0200 Subject: [PATCH] versuche dinge mit schleifen in liquid zu tun --- events.ics | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/events.ics b/events.ics index 5b38f4f1..b4539e8b 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 -SUMMARY:{{ event.short }} +{% assign rounds = {{ event.short | size }} modulo: 70 %} +SUMMARY:{{ rounds }}:{{ event.short }} CLASS:PUBLIC DTSTART:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%S" }}Z DTEND:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%S" }}Z -- GitLab