Start creating kalendar

This commit is contained in:
L3D 2019-02-13 23:49:49 +01:00
parent 73185f352d
commit a10ed36055
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 29 additions and 1 deletions

View file

@ -108,3 +108,5 @@ hinweis_txt: mach mit!
hinweis_url: /mitmachen/
---
sections:
---
render_tourdaten: yes

19
databags/termine.ini Normal file
View file

@ -0,0 +1,19 @@
[termine]
datum[0] = foo
event[0] = bar
ort[0] = baz
url[0] = 42
datum[] = foo
event[] = bar
ort[] = baz1
url[] = 42
datum[] = foo
event[] = bar
ort[] = baz2
url[] = 42

View file

@ -81,6 +81,11 @@ type = string
label = 4. Abschnitt: Text
type = markdown
[fields.render_tourdaten]
label = Render Termine?
default = false
type = boolean
[fields.icons_1_1]
label = 1. Icon: Font Awesome
type = string

View file

@ -61,7 +61,9 @@
<header class="major">
<h2>{{ this.icons_header }}</h2>
{{ this.icons_text }}
</header>
</header>{% if this.render_tourdaten %}
{{ bag('termine', 'termine', 'ort[]') }}
{% endif %}
<div class="box alt">
<div class="row uniform">
<section class="4u 6u(medium) 12u$(xsmall)">