{#- HTML Calender Renderer for Startpage -#} {%- set pages = site.query('/').include_undiscoverable(true).all() -%} {%- set counter = ['1'] -%} {%- for page in pages -%} {%- if page._path == this.calendar_name -%} {%- for blk in page.dates.blocks|sort(attribute='ende', reverse = False) -%} {%- if blk.start.strftime('%Y%m%d%H%M') > none|datetimeformat('yyyyMMddhhmm') -%} {%- if counter == ['1'] -%}
Datum | Veranstaltung | Ort |
---|---|---|
{%- if blk.confirmed == 'true' -%}
{%- elif blk.confirmed == 'canceled' -%}
|
{{- '\n ' -}}
{%- if blk.confirmed == 'true' -%}
{%- elif blk.confirmed == 'canceled' -%}
|
{{- '\n ' -}} {{ blk.ort }} | {%- if blk.confirmed == 'true' -%} {%- elif blk.confirmed == 'canceled' -%} {% else %} {% endif %} {{- '\n ' -}}