Added person data for page Trainer
@ -8,4 +8,84 @@ menu:
|
||||
weight: 3
|
||||
---
|
||||
|
||||
dfewr
|
||||
|
||||
## Standard & Latein Erwachsene
|
||||
|
||||
{{< tsc/person-list >}}
|
||||
{{< tsc/trainer
|
||||
name="rolandas-trembo" >}}
|
||||
{{< /tsc/person-list >}}
|
||||
|
||||
## Standard & Latein Kinder, Jugend Turnier / Turnieraufbau
|
||||
|
||||
{{< tsc/person-list >}}
|
||||
{{< tsc/trainer
|
||||
name="christine-melcher" >}}
|
||||
{{< tsc/trainer
|
||||
name="domenico-franzo" >}}
|
||||
{{< tsc/trainer
|
||||
name="chaska-huaman-bursztyn" >}}
|
||||
{{< /tsc/person-list >}}
|
||||
|
||||
|
||||
## Breitensport
|
||||
|
||||
{{< tsc/person-list >}}
|
||||
{{< tsc/trainer
|
||||
name="klaus-richter" >}}
|
||||
{{< /tsc/person-list >}}
|
||||
|
||||
## Tanzkreise
|
||||
|
||||
{{< tsc/person-list >}}
|
||||
{{< tsc/trainer
|
||||
name="suzana-koester-manojlovic" >}}
|
||||
{{< tsc/trainer
|
||||
name="tina-grassl" >}}
|
||||
{{< tsc/trainer
|
||||
name="raimund-rieger" >}}
|
||||
{{< tsc/trainer
|
||||
name="stefan-dietl" >}}
|
||||
{{< /tsc/person-list >}}
|
||||
|
||||
## Discofox
|
||||
|
||||
{{< tsc/person-list >}}
|
||||
{{< tsc/trainer
|
||||
name="stefan-dietl" >}}
|
||||
{{< /tsc/person-list >}}
|
||||
|
||||
|
||||
## Dance-Styles
|
||||
|
||||
{{< tsc/person-list >}}
|
||||
{{< tsc/trainer
|
||||
name="maren-spengler" >}}
|
||||
{{< tsc/trainer
|
||||
name="kim-wustrack" >}}
|
||||
{{< tsc/trainer
|
||||
name="suzana-koester-manojlovic" >}}
|
||||
{{< tsc/trainer
|
||||
name="linda-klauss" >}}
|
||||
{{< tsc/trainer
|
||||
name="olivia-paprotny" >}}
|
||||
{{< tsc/trainer
|
||||
name="franziska-bader" >}}
|
||||
{{< tsc/trainer
|
||||
name="katharina-pfaffenrot" >}}
|
||||
{{< tsc/trainer
|
||||
name="christine-melcher" >}}
|
||||
{{< tsc/trainer
|
||||
name="leonie-weinhardt" >}}
|
||||
{{< tsc/trainer
|
||||
name="maike-leditzky" >}}
|
||||
{{< /tsc/person-list >}}
|
||||
|
||||
## Kindertanz
|
||||
|
||||
{{< tsc/person-list >}}
|
||||
{{< tsc/trainer
|
||||
name="chaska-huaman-bursztyn" >}}
|
||||
{{< tsc/trainer
|
||||
name="christine-melcher" >}}
|
||||
{{< /tsc/person-list >}}
|
||||
|
BIN
content/person/chaska-huaman-bursztyn/Chaska-Huaman-Bursztyn.jpg
Normal file
After Width: | Height: | Size: 2.8 KiB |
7
content/person/chaska-huaman-bursztyn/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: "Chaska Huamán-Bursztyn"
|
||||
date: 2023-01-20T16:03:15+01:00
|
||||
draft: true
|
||||
image: "Chaska-Huaman-Bursztyn.jpg"
|
||||
---
|
||||
|
BIN
content/person/christine-melcher/Christine_Melcher.jpg
Normal file
After Width: | Height: | Size: 6.0 KiB |
8
content/person/christine-melcher/index.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "Christine Melcher"
|
||||
date: 2023-01-20T16:03:14+01:00
|
||||
draft: true
|
||||
image: "Christine_Melcher.jpg"
|
||||
sex: female
|
||||
---
|
||||
|
BIN
content/person/domenico-franzo/Domenico_Franzo.jpg
Normal file
After Width: | Height: | Size: 2.4 KiB |
8
content/person/domenico-franzo/index.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "Domenico Franzo"
|
||||
date: 2023-01-20T16:03:14+01:00
|
||||
draft: true
|
||||
image: "Domenico_Franzo.jpg"
|
||||
sex: male
|
||||
---
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
title: "Franziska Bade"
|
||||
title: "Franziska Bader"
|
||||
draft: true
|
||||
image: "Franziska_Bader.jpg"
|
||||
headless: true
|
||||
|
BIN
content/person/leonie-weinhardt/Leonie_Weinhardt.jpg
Normal file
After Width: | Height: | Size: 5.7 KiB |
8
content/person/leonie-weinhardt/index.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "Leonie Weinhardt"
|
||||
date: 2023-01-20T16:03:15+01:00
|
||||
draft: true
|
||||
image: Leonie_Weinhardt.jpg
|
||||
sex: female
|
||||
---
|
||||
|
BIN
content/person/linda-klauss/Linda_Klauss.jpg
Normal file
After Width: | Height: | Size: 5.4 KiB |
8
content/person/linda-klauss/index.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "Linda Klauß"
|
||||
date: 2023-01-20T16:03:15+01:00
|
||||
draft: true
|
||||
image: Linda_Klauss.jpg
|
||||
sex: female
|
||||
---
|
||||
|
BIN
content/person/maike-leditzky/Maike_Leditzky.jpg
Normal file
After Width: | Height: | Size: 5.5 KiB |
8
content/person/maike-leditzky/index.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "Maike Leditzky"
|
||||
date: 2023-01-20T16:03:16+01:00
|
||||
draft: true
|
||||
image: Maike_Leditzky.jpg
|
||||
sex: female
|
||||
---
|
||||
|
8
content/person/raimund-rieger/index.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "Raimund Rieger"
|
||||
date: 2023-01-20T16:03:15+01:00
|
||||
draft: true
|
||||
image: "raimund.jpg"
|
||||
sex: male
|
||||
---
|
||||
|
BIN
content/person/raimund-rieger/raimund.jpg
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
content/person/rolandas-trembo/Rolandas2017.jpg
Normal file
After Width: | Height: | Size: 3.6 KiB |
7
content/person/rolandas-trembo/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: "Rolandas Trembo"
|
||||
draft: true
|
||||
image: "Rolandas2017.jpg"
|
||||
sex: male
|
||||
headless: true
|
||||
---
|
7
content/person/suzana-koester-manojlovic/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: "Suzana Köster-Manojlovic"
|
||||
draft: true
|
||||
image: "suzi.jpg"
|
||||
sex: female
|
||||
headless: true
|
||||
---
|
BIN
content/person/suzana-koester-manojlovic/suzi.jpg
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
content/person/tina-grassl/Tina_Grassl.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
8
content/person/tina-grassl/index.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "Tina Grassl"
|
||||
date: 2023-01-20T16:03:15+01:00
|
||||
draft: true
|
||||
image: "Tina_Grassl.jpg"
|
||||
sex: female
|
||||
---
|
||||
|
39
themes/tsc_vfl/layouts/shortcodes/tsc/trainer.html
Normal file
@ -0,0 +1,39 @@
|
||||
{{ with .Site.GetPage "person" }}
|
||||
{{ with .GetPage ($.Get "name") }}
|
||||
{{ $imageName := .Params.Get "image" }}
|
||||
{{ $image := "" }}
|
||||
{{ with .Resources.GetMatch $imageName}}
|
||||
{{ $image = .RelPermalink }}
|
||||
{{ else }}
|
||||
{{ warnf "Image for %s is not correclty found. Falling back to default." ($.Get "name") }}
|
||||
{{ with .Resources.ByType "image" }}
|
||||
{{ $image = (index . 0).RelPermalink }}
|
||||
{{ else }}
|
||||
{{ with .Params.Get "sex" }}
|
||||
{{ if eq . "male" }}
|
||||
{{ $image = relURL "img/persons/male.png" }}
|
||||
{{ else }}
|
||||
{{ errorf "Generic female icon not found." }}
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ warnf "Cannot find sex of %s." ($.Get "name") }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $config :=
|
||||
dict
|
||||
"image" $image
|
||||
"name" (.Params.Get "title")
|
||||
}}
|
||||
{{ partial "tsc/start-person" $config }}
|
||||
<div class="content content-trainer">
|
||||
<div class="name">
|
||||
{{- .Params.Get "title" -}}
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "tsc/end-person" . }}
|
||||
{{ else }}
|
||||
{{ warnf "Cannot find person %s." ($.Get "name") }}
|
||||
<div class="person">{{ $.Get "name" }}</div>
|
||||
{{ end }}
|
||||
{{ end }}
|