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 \
|
else \
|
||||||
lektor plugin flush-cache; \
|
lektor plugin flush-cache; \
|
||||||
lektor clean --yes; \
|
lektor clean --yes; \
|
||||||
rm assets/svg/*; \
|
|
||||||
if python3 -m lektor --version 2>/dev/null; then \
|
if python3 -m lektor --version 2>/dev/null; then \
|
||||||
python3 -m lektor build $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS); \
|
python3 -m lektor build $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS); \
|
||||||
unix2dos temp/builds/c3woc.de/waffeln.ics; \
|
unix2dos temp/builds/c3woc.de/waffeln.ics; \
|
||||||
|
|
|
@ -533,7 +533,7 @@ ort: Ziegeleipark Mildenberg
|
||||||
----
|
----
|
||||||
url: https://events.ccc.de/camp/2023/infos/
|
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>
|
mail: Waffel Operation Center <waffel@c3woc.de>
|
||||||
----
|
----
|
||||||
|
|
|
@ -22,10 +22,8 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
{%- if blk.confirmed == 'true' -%}
|
{%- if blk.confirmed == 'true' -%}
|
||||||
{%- elif blk.confirmed == 'canceled' -%}
|
{%- elif blk.confirmed == 'canceled' -%} <s>
|
||||||
<s>
|
{% else %} <i>
|
||||||
{% else %}
|
|
||||||
<i>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- if blk.start.strftime('%d.%m') == blk.ende.strftime('%d.%m') -%}
|
{%- if blk.start.strftime('%d.%m') == blk.ende.strftime('%d.%m') -%}
|
||||||
{{- '\n ' -}}
|
{{- '\n ' -}}
|
||||||
|
@ -34,13 +32,15 @@
|
||||||
{{- '\n ' -}}
|
{{- '\n ' -}}
|
||||||
{{ blk.start.strftime('%d.%m') }} - {{ blk.ende.strftime('%d.%m.%Y') }}
|
{{ blk.start.strftime('%d.%m') }} - {{ blk.ende.strftime('%d.%m.%Y') }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
{%- if blk.confirmed == 'true' -%}
|
||||||
|
{%- elif blk.confirmed == 'canceled' -%} </s>
|
||||||
|
{% else %} </i>
|
||||||
|
{% endif %}
|
||||||
{{- '\n ' -}} </th>
|
{{- '\n ' -}} </th>
|
||||||
{{- '\n ' -}} <th>
|
{{- '\n ' -}} <th>
|
||||||
{%- if blk.confirmed == 'true' -%}
|
{%- if blk.confirmed == 'true' -%}
|
||||||
{%- elif blk.confirmed == 'canceled' -%}
|
{%- elif blk.confirmed == 'canceled' -%} <s>
|
||||||
<s>
|
{% else %} <i>
|
||||||
{% else %}
|
|
||||||
<i>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{- '\n ' -}} <a href="{{ blk.url }}" title="{{ blk.description|replace("|", " ") }}">
|
{{- '\n ' -}} <a href="{{ blk.url }}" title="{{ blk.description|replace("|", " ") }}">
|
||||||
{{- blk.event -}}
|
{{- blk.event -}}
|
||||||
|
@ -51,15 +51,23 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
</i>
|
</i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{- '\n ' -}} </th>
|
|
||||||
{{- '\n ' -}} <th>{{ blk.ort }}</th>
|
|
||||||
{%- if blk.confirmed == 'true' -%}
|
{%- if blk.confirmed == 'true' -%}
|
||||||
{%- elif blk.confirmed == 'canceled' -%}
|
{%- elif blk.confirmed == 'canceled' -%} </s>
|
||||||
</s>
|
{% else %} </i>
|
||||||
{% else %}
|
|
||||||
</i>
|
|
||||||
{% endif %}
|
{% 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 -%}
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
|
@ -11,17 +11,20 @@ DESCRIPTION;LANGUAGE={{ this.lang }}:{{ blk.description|replace( "|", "\\n") |
|
||||||
Weiteres dazu auf
|
Weiteres dazu auf
|
||||||
{{ blk.url | wordwrap(width=65, wrapstring='\n ') }}{% endif %}
|
{{ blk.url | wordwrap(width=65, wrapstring='\n ') }}{% endif %}
|
||||||
LOCATION;LANGUAGE={{ this.lang }}:{{ blk.ort | wordwrap(width=45, wrapstring='\n ') }}
|
LOCATION;LANGUAGE={{ this.lang }}:{{ blk.ort | wordwrap(width=45, wrapstring='\n ') }}
|
||||||
STATUS:
|
{%- if blk.confirmed == 'true' -%}{{- '\n' -}}
|
||||||
{%- if blk.confirmed == 'true' -%}
|
STATUS:CONFIRMED
|
||||||
CONFIRMED
|
METHOD:PUBLISH
|
||||||
{%- elif blk.confirmed == 'canceled' -%}
|
{%- elif blk.confirmed == 'canceled' -%}{{- '\n' -}}
|
||||||
CANCELLED
|
STATUS:CANCELLED
|
||||||
{%- else %}
|
METHOD:CANCEL
|
||||||
TENTATIVE
|
{%- else -%}{{- '\n' -}}
|
||||||
{%- endif %}
|
STATUS:TENTATIVE
|
||||||
|
{%- endif -%} {{- '\n' -}}
|
||||||
SUMMARY;LANGUAGE={{ this.lang }}:{{ blk.event | wordwrap(width=45, wrapstring='\n ') }}
|
SUMMARY;LANGUAGE={{ this.lang }}:{{ blk.event | wordwrap(width=45, wrapstring='\n ') }}
|
||||||
TRANSP:OPAQUE
|
TRANSP:OPAQUE
|
||||||
|
{%- if blk.url is defined %}
|
||||||
URL:{{ blk.url }}
|
URL:{{ blk.url }}
|
||||||
|
{%- endif %}
|
||||||
DTEND;VALUE=DATE-TIME;TZID=Europe/Berlin:{{ blk.ende.strftime('%Y%m%dT%H%M%S') }}
|
DTEND;VALUE=DATE-TIME;TZID=Europe/Berlin:{{ blk.ende.strftime('%Y%m%dT%H%M%S') }}
|
||||||
CONTACT;LANGUAGE={{ this.lang }}:{{ blk.mail }}
|
CONTACT;LANGUAGE={{ this.lang }}:{{ blk.mail }}
|
||||||
COLOR:{{ blk.color }}
|
COLOR:{{ blk.color }}
|
||||||
|
|
|
@ -5,7 +5,7 @@ CALSCALE:GREGORIAN
|
||||||
METHOD:PUBLISH
|
METHOD:PUBLISH
|
||||||
UID:{{ this._gid }}
|
UID:{{ this._gid }}
|
||||||
URL:{{ this.moreinfourl }}
|
URL:{{ this.moreinfourl }}
|
||||||
REFRESH-INTERVAL;VALUE=DURATION:P2D
|
REFRESH-INTERVAL;VALUE=DURATION:PT6H
|
||||||
SOURCE;VALUE=URI:{{ this._path | url(external=true) }}
|
SOURCE;VALUE=URI:{{ this._path | url(external=true) }}
|
||||||
COLOR:{{ this.color }}
|
COLOR:{{ this.color }}
|
||||||
{#- NAME;LANGUAGE={{ this.lang }}:{{ this.name | wordwrap(width=45, wrapstring='\n ') }} #}
|
{#- NAME;LANGUAGE={{ this.lang }}:{{ this.name | wordwrap(width=45, wrapstring='\n ') }} #}
|
||||||
|
|
Loading…
Reference in a new issue