Waffelkalender: confirmed
This commit is contained in:
parent
3b80295516
commit
d549053802
3 changed files with 4 additions and 4 deletions
|
@ -175,9 +175,9 @@ description: Wie am letzten Gettogether bereits angekündigt, haben wir vom Chao
|
|||
----
|
||||
confirmed: yes
|
||||
#### termine ####
|
||||
start: 2019-12-13 18:00:00 Europe/Berlin
|
||||
start: 2018-12-13 18:00:00 Europe/Berlin
|
||||
----
|
||||
ende: 2019-12-13 23:42:23 Europe/Berlin
|
||||
ende: 2018-12-13 23:42:23 Europe/Berlin
|
||||
----
|
||||
event: Toolbox Weihnachtswaffeln
|
||||
----
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
set pages = site.query('/').include_undiscoverable(true).all() %}{%
|
||||
for page in pages %}{%
|
||||
if page._model == 'waffeln' and page._path == '/waffeln.ics' %}{%
|
||||
for blk in page.termine.blocks %}{%
|
||||
for blk in page.termine.blocks|sort(attribute='start', reverse = False) %}{%
|
||||
if blk.start.strftime('%Y%m%d%H%M') > none|datetimeformat('yyyyMMddhhmm') %}
|
||||
<tr>
|
||||
<th>{%
|
||||
|
|
|
@ -4,7 +4,7 @@ VERSION:2.0
|
|||
CALSCALE:GREGORIAN
|
||||
PRODID:https://{{ fqdn }}/{{ this._id }}
|
||||
METHOD:PUBLISH{%
|
||||
for blk in this.termine.blocks %}
|
||||
for blk in this.termine.blocks|sort(attribute='start', reverse = True) %}
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:{{ blk.event }}
|
||||
ORGANIZER;CN="C3 Waffel Operation Center":MAILTO:waffel@{{ fqdn }}
|
||||
|
|
Loading…
Reference in a new issue