forked from Decentrala/website
Merge remote-tracking branch 'dmz/fix/fix-ical-template'
This commit is contained in:
commit
042e81c66b
1
prep.py
1
prep.py
@ -107,6 +107,7 @@ def build_ical(events: list[dict]) -> str:
|
|||||||
event_template = event_template.replace("<!--DATE-->", date)
|
event_template = event_template.replace("<!--DATE-->", date)
|
||||||
event_template = event_template.replace("<!--TITLE-->", title)
|
event_template = event_template.replace("<!--TITLE-->", title)
|
||||||
event_template = event_template.replace("<!--URL-->", url)
|
event_template = event_template.replace("<!--URL-->", url)
|
||||||
|
event_template = event_template.replace("<!--LOCATION-->", location)
|
||||||
|
|
||||||
events_ical += event_template
|
events_ical += event_template
|
||||||
# Footer
|
# Footer
|
||||||
|
@ -6,7 +6,7 @@ DTSTART;TZID=Europe/Belgrade:<!--DATE-->
|
|||||||
DTEND;TZID=Europe/Belgrade:<!--DATE-->
|
DTEND;TZID=Europe/Belgrade:<!--DATE-->
|
||||||
GEO:+44.805613;+20.479234
|
GEO:+44.805613;+20.479234
|
||||||
LAST-MODIFIED:<!--CREATED-->
|
LAST-MODIFIED:<!--CREATED-->
|
||||||
LOCATION:DC Krov\, Kraljice Marije 47\, 6\, Beograd\, Serbia
|
LOCATION:<!--LOCATION-->
|
||||||
STATUS:CONFIRMED
|
STATUS:CONFIRMED
|
||||||
SUMMARY:<!--TITLE-->
|
SUMMARY:<!--TITLE-->
|
||||||
URL;TYPE=URI:<!--URL-->
|
URL;TYPE=URI:<!--URL-->
|
||||||
|
Loading…
Reference in New Issue
Block a user