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

liquid and modulo

parent b0bc3e55
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
{% assign rounds = {{ event.short | size }} | modulo: 70 %}
{% capture textSize %}{{ event.short | size }}{% endcapture %}
{% assign rounds = textSize | modulo: 70 %}
SUMMARY:{{ rounds }}:{{ event.short }}
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