Skip to content

Commit 26d506a

Browse files
committed
ical whitespacing
1 parent 1c616a6 commit 26d506a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

_layouts/calendar-deadlines.ics

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ TZOFFSETFROM:+0000
1111
TZOFFSETTO:+0000
1212
END:STANDARD
1313
END:VTIMEZONE
14-
{% for conf in site.data.conferences %}
14+
{%- for conf in site.data.conferences %}
1515
{%- if conf.cfp_ext -%}
1616
{%- assign cfp = conf.cfp_ext -%}
1717
{%- assign extended = "(extended)" -%}
@@ -20,7 +20,7 @@ END:VTIMEZONE
2020
{%- assign extended = "" -%}
2121
{%- endif -%}
2222
{%- capture desc -%}<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.{%- endcapture -%}
23-
{%- if conf.workshop_deadline and conf.workshop_deadline != "TBA" -%}
23+
{%- if conf.workshop_deadline and conf.workshop_deadline != "TBA" %}
2424
BEGIN:VEVENT
2525
SUMMARY:{{ conf.conference }} {{ conf.year }} Workshop Deadline
2626
UID:{{ conf.conference | slugify: "latin" }}-{{ conf.year }}[email protected]
@@ -29,8 +29,8 @@ DTSTART:{{ conf.workshop_deadline | to_utc: conf.timezone }}
2929
{{ desc | prepend: "DESCRIPTION:" | normalize_whitespace | wrap_lines }}
3030
ORGANIZER;CN=PythonDeadlines:mailto:[email protected]
3131
END:VEVENT
32-
{%- endif -%}
33-
{%- if conf.tutorial_deadline and conf.tutorial_deadline != "TBA" -%}
32+
{%- endif %}
33+
{%- if conf.tutorial_deadline and conf.tutorial_deadline != "TBA" %}
3434
BEGIN:VEVENT
3535
SUMMARY:{{ conf.conference }} {{ conf.year }} Tutorial Deadline
3636
UID:{{ conf.conference | slugify: "latin" }}-{{ conf.year }}[email protected]
@@ -39,8 +39,8 @@ DTSTART:{{ conf.tutorial_deadline | to_utc: conf.timezone }}
3939
{{ desc | prepend: "DESCRIPTION:" | normalize_whitespace | wrap_lines }}
4040
ORGANIZER;CN=PythonDeadlines:mailto:[email protected]
4141
END:VEVENT
42-
{%- endif -%}
43-
{%- if cfp != "TBA" and cfp != "None" and cfp != "Cancelled" -%}
42+
{%- endif %}
43+
{%- if cfp != "TBA" and cfp != "None" and cfp != "Cancelled" %}
4444
BEGIN:VEVENT
4545
SUMMARY:{{ conf.conference }} {{ conf.year }} Deadline {{ extended }}
4646
UID:{{ conf.conference | slugify: "latin" }}-{{ conf.year }}@pythondeadlin.es
@@ -49,5 +49,6 @@ DTSTART:{{ cfp | to_utc: conf.timezone }}
4949
{{ desc | prepend: "DESCRIPTION:" | normalize_whitespace | wrap_lines }}
5050
ORGANIZER;CN=PythonDeadlines:mailto:[email protected]
5151
END:VEVENT
52-
{%- endif -%}{% endfor %}
52+
{%- endif %}
53+
{%- endfor %}
5354
END:VCALENDAR

0 commit comments

Comments
 (0)