update kalendar
This commit is contained in:
parent
437ced359d
commit
d2108b2078
5 changed files with 36 additions and 26 deletions
1
Makefile
1
Makefile
|
@ -53,7 +53,6 @@ deploy:
|
|||
else \
|
||||
lektor plugin flush-cache; \
|
||||
lektor clean --yes; \
|
||||
rm assets/svg/*; \
|
||||
if python3 -m lektor --version 2>/dev/null; then \
|
||||
python3 -m lektor build $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS); \
|
||||
unix2dos temp/builds/c3woc.de/waffeln.ics; \
|
||||
|
|
|
@ -533,7 +533,7 @@ ort: Ziegeleipark Mildenberg
|
|||
----
|
||||
url: https://events.ccc.de/camp/2023/infos/
|
||||
----
|
||||
description:
|
||||
description: Chaos Communication Camp 2023 im Ziegeleipark Mildenberg. Leider ohne Waffeln, weil man bisher mit der PL keinen Weg gefunden hat, wie es Waffeln auf so einem Event geben könnte.
|
||||
----
|
||||
mail: Waffel Operation Center <waffel@c3woc.de>
|
||||
----
|
||||
|
|
|
@ -22,10 +22,8 @@
|
|||
<tr>
|
||||
<th>
|
||||
{%- if blk.confirmed == 'true' -%}
|
||||
{%- elif blk.confirmed == 'canceled' -%}
|
||||
<s>
|
||||
{% else %}
|
||||
<i>
|
||||
{%- elif blk.confirmed == 'canceled' -%} <s>
|
||||
{% else %} <i>
|
||||
{% endif %}
|
||||
{%- if blk.start.strftime('%d.%m') == blk.ende.strftime('%d.%m') -%}
|
||||
{{- '\n ' -}}
|
||||
|
@ -34,13 +32,15 @@
|
|||
{{- '\n ' -}}
|
||||
{{ blk.start.strftime('%d.%m') }} - {{ blk.ende.strftime('%d.%m.%Y') }}
|
||||
{%- endif -%}
|
||||
{%- if blk.confirmed == 'true' -%}
|
||||
{%- elif blk.confirmed == 'canceled' -%} </s>
|
||||
{% else %} </i>
|
||||
{% endif %}
|
||||
{{- '\n ' -}} </th>
|
||||
{{- '\n ' -}} <th>
|
||||
{%- if blk.confirmed == 'true' -%}
|
||||
{%- elif blk.confirmed == 'canceled' -%}
|
||||
<s>
|
||||
{% else %}
|
||||
<i>
|
||||
{%- elif blk.confirmed == 'canceled' -%} <s>
|
||||
{% else %} <i>
|
||||
{% endif %}
|
||||
{{- '\n ' -}} <a href="{{ blk.url }}" title="{{ blk.description|replace("|", " ") }}">
|
||||
{{- blk.event -}}
|
||||
|
@ -51,15 +51,23 @@
|
|||
{% else %}
|
||||
</i>
|
||||
{% endif %}
|
||||
{{- '\n ' -}} </th>
|
||||
{{- '\n ' -}} <th>{{ blk.ort }}</th>
|
||||
{%- if blk.confirmed == 'true' -%}
|
||||
{%- elif blk.confirmed == 'canceled' -%}
|
||||
</s>
|
||||
{% else %}
|
||||
</i>
|
||||
{%- elif blk.confirmed == 'canceled' -%} </s>
|
||||
{% else %} </i>
|
||||
{% endif %}
|
||||
{{- '\n ' -}} </tr></s>
|
||||
{{- '\n ' -}} </th>
|
||||
{{- '\n ' -}} <th>
|
||||
{%- if blk.confirmed == 'true' -%}
|
||||
{%- elif blk.confirmed == 'canceled' -%} <s>
|
||||
{% else %} <i>
|
||||
{% endif %}
|
||||
{{ blk.ort }}
|
||||
{%- if blk.confirmed == 'true' -%}
|
||||
{%- elif blk.confirmed == 'canceled' -%} </s>
|
||||
{% else %} </i>
|
||||
{% endif %}
|
||||
</th>
|
||||
{{- '\n ' -}} </tr>
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- endif -%}
|
||||
|
|
|
@ -11,17 +11,20 @@ DESCRIPTION;LANGUAGE={{ this.lang }}:{{ blk.description|replace( "|", "\\n") |
|
|||
Weiteres dazu auf
|
||||
{{ blk.url | wordwrap(width=65, wrapstring='\n ') }}{% endif %}
|
||||
LOCATION;LANGUAGE={{ this.lang }}:{{ blk.ort | wordwrap(width=45, wrapstring='\n ') }}
|
||||
STATUS:
|
||||
{%- if blk.confirmed == 'true' -%}
|
||||
CONFIRMED
|
||||
{%- elif blk.confirmed == 'canceled' -%}
|
||||
CANCELLED
|
||||
{%- else %}
|
||||
TENTATIVE
|
||||
{%- endif %}
|
||||
{%- if blk.confirmed == 'true' -%}{{- '\n' -}}
|
||||
STATUS:CONFIRMED
|
||||
METHOD:PUBLISH
|
||||
{%- elif blk.confirmed == 'canceled' -%}{{- '\n' -}}
|
||||
STATUS:CANCELLED
|
||||
METHOD:CANCEL
|
||||
{%- else -%}{{- '\n' -}}
|
||||
STATUS:TENTATIVE
|
||||
{%- endif -%} {{- '\n' -}}
|
||||
SUMMARY;LANGUAGE={{ this.lang }}:{{ blk.event | wordwrap(width=45, wrapstring='\n ') }}
|
||||
TRANSP:OPAQUE
|
||||
{%- if blk.url is defined %}
|
||||
URL:{{ blk.url }}
|
||||
{%- endif %}
|
||||
DTEND;VALUE=DATE-TIME;TZID=Europe/Berlin:{{ blk.ende.strftime('%Y%m%dT%H%M%S') }}
|
||||
CONTACT;LANGUAGE={{ this.lang }}:{{ blk.mail }}
|
||||
COLOR:{{ blk.color }}
|
||||
|
|
|
@ -5,7 +5,7 @@ CALSCALE:GREGORIAN
|
|||
METHOD:PUBLISH
|
||||
UID:{{ this._gid }}
|
||||
URL:{{ this.moreinfourl }}
|
||||
REFRESH-INTERVAL;VALUE=DURATION:P2D
|
||||
REFRESH-INTERVAL;VALUE=DURATION:PT6H
|
||||
SOURCE;VALUE=URI:{{ this._path | url(external=true) }}
|
||||
COLOR:{{ this.color }}
|
||||
{#- NAME;LANGUAGE={{ this.lang }}:{{ this.name | wordwrap(width=45, wrapstring='\n ') }} #}
|
||||
|
|
Loading…
Reference in a new issue