mirror of
https://github.com/netz39/www.netz39.de.git
synced 2025-01-18 12:00:12 +01:00
20 lines
486 B
HTML
20 lines
486 B
HTML
---
|
|
layout:
|
|
title:
|
|
permalink: /calendar-data/
|
|
---
|
|
|
|
[
|
|
{% for event in site.events %}
|
|
{% assign start = event.event.start | default: event.event_date %}
|
|
{% assign end = event.event.end | default: start %}
|
|
{
|
|
"title":"{{event.title}}",
|
|
"start": "{{start | date: "%Y-%m-%dT%H:%M:%S"}}",
|
|
"end": "{{end | date: "%Y-%m-%dT%H:%M:%S"}}",
|
|
"allDay": {% if start == end %}true{% else %}false{% endif %},
|
|
"url":"{{event.url}}"
|
|
}
|
|
{%unless forloop.last %},{%endunless%}
|
|
{% endfor %}
|
|
]
|