From e0946e6c598f248ffb970a90096201e7c60e46af Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Fri, 20 Jan 2023 15:14:39 +0100 Subject: [PATCH] Create Vorstand page using static person data --- content/page/club/vorstand/index.md | 72 ++++++------------ .../alexander-kieper}/Alexander_Kieper.jpg | Bin content/person/alexander-kieper/index.md | 6 ++ .../anja-vollmer}/Anja_Vollmer.jpg | Bin content/person/anja-vollmer/index.md | 6 ++ .../anja-westerhoff}/Anja_Westerhoff.jpg | Bin content/person/anja-westerhoff/index.md | 6 ++ .../anna-ceglarski}/Anna_Ceglarski.jpg | Bin content/person/anna-ceglarski/index.md | 6 ++ .../axel-fedeler}/Axel_Fedeler.jpg | Bin content/person/axel-fedeler/index.md | 6 ++ .../bernd-peter}/Bernd_Peter.jpg | Bin content/person/bernd-peter/index.md | 6 ++ .../britta-sigmund}/Britta_Sigmund.jpg | Bin content/person/britta-sigmund/index.md | 6 ++ .../christian-wolf}/Christian_Wolf.jpg | Bin content/person/christian-wolf/index.md | 6 ++ .../diane-mongellaz}/Diane_Mongellaz.jpg | Bin content/person/diane-mongellaz/index.md | 6 ++ .../frank-westerhoff}/Frank_Westerhoff.jpg | Bin content/person/frank-westerhoff/index.md | 6 ++ .../franziska-bader}/Franziska_Bader.jpg | Bin content/person/franziska-bader/index.md | 6 ++ content/person/joseph-ripp/index.md | 6 ++ .../Katharina_Pfaffenrot.jpg | Bin content/person/katharina-pfaffenrot/index.md | 6 ++ .../kim-wustrack}/Kim_Wustrack.jpg | Bin content/person/kim-wustrack/index.md | 6 ++ .../klaus-arndt}/Klaus_Arndt.jpg | Bin content/person/klaus-arndt/index.md | 6 ++ .../klaus-richter}/Klaus_Richter.jpg | Bin content/person/klaus-richter/index.md | 6 ++ .../maren-spengler}/Maren_Spengler.jpg | Bin content/person/maren-spengler/index.md | 6 ++ .../martin-schatke}/Martin_Schatke.jpg | Bin content/person/martin-schatke/index.md | 6 ++ .../nelly-fuchs}/Nelly_Fuchs.jpeg | Bin content/person/nelly-fuchs/index.md | 6 ++ .../olivia-paprotny}/Olivia_Paprotny.jpg | Bin content/person/olivia-paprotny/index.md | 6 ++ .../petra-kohler}/Petra_Kohler.jpg | Bin content/person/petra-kohler/index.md | 6 ++ .../stefan-dietl}/Stefan_Dietl.jpg | Bin content/person/stefan-dietl/index.md | 6 ++ .../img => person/uwe-keck}/Uwe_Keck.jpg | Bin content/person/uwe-keck/index.md | 6 ++ themes/tsc_vfl/archetypes/person.md | 6 ++ .../layouts/partials/tsc/start-person.html | 6 +- .../layouts/shortcodes/tsc/vorstand.html | 44 ++++++++--- .../tsc_vfl/static/img/persons}/male.png | Bin 50 files changed, 206 insertions(+), 60 deletions(-) rename content/{page/club/vorstand/img => person/alexander-kieper}/Alexander_Kieper.jpg (100%) create mode 100644 content/person/alexander-kieper/index.md rename content/{page/club/vorstand/img => person/anja-vollmer}/Anja_Vollmer.jpg (100%) create mode 100644 content/person/anja-vollmer/index.md rename content/{page/club/vorstand/img => person/anja-westerhoff}/Anja_Westerhoff.jpg (100%) create mode 100644 content/person/anja-westerhoff/index.md rename content/{page/club/vorstand/img => person/anna-ceglarski}/Anna_Ceglarski.jpg (100%) create mode 100644 content/person/anna-ceglarski/index.md rename content/{page/club/vorstand/img => person/axel-fedeler}/Axel_Fedeler.jpg (100%) create mode 100644 content/person/axel-fedeler/index.md rename content/{page/club/vorstand/img => person/bernd-peter}/Bernd_Peter.jpg (100%) create mode 100644 content/person/bernd-peter/index.md rename content/{page/club/vorstand/img => person/britta-sigmund}/Britta_Sigmund.jpg (100%) create mode 100644 content/person/britta-sigmund/index.md rename content/{page/club/vorstand/img => person/christian-wolf}/Christian_Wolf.jpg (100%) create mode 100644 content/person/christian-wolf/index.md rename content/{page/club/vorstand/img => person/diane-mongellaz}/Diane_Mongellaz.jpg (100%) create mode 100644 content/person/diane-mongellaz/index.md rename content/{page/club/vorstand/img => person/frank-westerhoff}/Frank_Westerhoff.jpg (100%) create mode 100644 content/person/frank-westerhoff/index.md rename content/{page/club/vorstand/img => person/franziska-bader}/Franziska_Bader.jpg (100%) create mode 100644 content/person/franziska-bader/index.md create mode 100644 content/person/joseph-ripp/index.md rename content/{page/club/vorstand/img => person/katharina-pfaffenrot}/Katharina_Pfaffenrot.jpg (100%) create mode 100644 content/person/katharina-pfaffenrot/index.md rename content/{page/club/vorstand/img => person/kim-wustrack}/Kim_Wustrack.jpg (100%) create mode 100644 content/person/kim-wustrack/index.md rename content/{page/club/vorstand/img => person/klaus-arndt}/Klaus_Arndt.jpg (100%) create mode 100644 content/person/klaus-arndt/index.md rename content/{page/club/vorstand/img => person/klaus-richter}/Klaus_Richter.jpg (100%) create mode 100644 content/person/klaus-richter/index.md rename content/{page/club/vorstand/img => person/maren-spengler}/Maren_Spengler.jpg (100%) create mode 100644 content/person/maren-spengler/index.md rename content/{page/club/vorstand/img => person/martin-schatke}/Martin_Schatke.jpg (100%) create mode 100644 content/person/martin-schatke/index.md rename content/{page/club/vorstand/img => person/nelly-fuchs}/Nelly_Fuchs.jpeg (100%) create mode 100644 content/person/nelly-fuchs/index.md rename content/{page/club/vorstand/img => person/olivia-paprotny}/Olivia_Paprotny.jpg (100%) create mode 100644 content/person/olivia-paprotny/index.md rename content/{page/club/vorstand/img => person/petra-kohler}/Petra_Kohler.jpg (100%) create mode 100644 content/person/petra-kohler/index.md rename content/{page/club/vorstand/img => person/stefan-dietl}/Stefan_Dietl.jpg (100%) create mode 100644 content/person/stefan-dietl/index.md rename content/{page/club/vorstand/img => person/uwe-keck}/Uwe_Keck.jpg (100%) create mode 100644 content/person/uwe-keck/index.md create mode 100644 themes/tsc_vfl/archetypes/person.md rename {content/page/club/vorstand/img => themes/tsc_vfl/static/img/persons}/male.png (100%) diff --git a/content/page/club/vorstand/index.md b/content/page/club/vorstand/index.md index 8ee98ac..a9a63f8 100644 --- a/content/page/club/vorstand/index.md +++ b/content/page/club/vorstand/index.md @@ -12,28 +12,25 @@ Ein jeder Club benötigt einen Vorstand, der die Vereinsführung übernimmt und {{< tsc/person-list >}} {{< tsc/vorstand - name="Anja Westerhoff" + name="anja-westerhoff" role="Abteilungsleiter" - img="img/Anja_Westerhoff.jpg" mail="clubleiter@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Klaus Richter" + name="klaus-richter" role="Schriftfuehrer/TSC-Geschaeftsstelle" - img="img/Klaus_Richter.jpg" mail="kontakt@tanzsportclub.vfl-sindelfingen.de" >}} {{< /tsc/person-list >}} {{< tsc/person-list >}} {{< tsc/vorstand - name="Frank Westerhoff" + name="frank-westerhoff" role="Kasse" - img="img/Frank_Westerhoff.jpg" mail="kasse@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Uwe Keck" + name="uwe-keck" role="Zahlungsverkehr" img="img/Uwe_Keck.jpg" mail="kasse@tanzsportclub.vfl-sindelfingen.de" @@ -42,34 +39,30 @@ Ein jeder Club benötigt einen Vorstand, der die Vereinsführung übernimmt und {{< tsc/person-list >}} {{< tsc/vorstand - name="Klaus Anrdt" + name="klaus-arndt" role="Mitgliederverwaltung" - img="img/Klaus_Arndt.jpg" mail="mitgliederverwaltung@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Anja Vollmer" + name="anja-vollmer" role="Mitgliederverwaltung" - img="img/Anja_Vollmer.jpg" mail="mitgliederverwaltung@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Axel Fedeler" + name="axel-fedeler" role="Mitgliederverwaltung" - img="img/Axel_Fedeler.jpg" mail="mitgliederverwaltung@tanzsportclub.vfl-sindelfingen.de" >}} {{< /tsc/person-list >}} {{< tsc/person-list >}} {{< tsc/vorstand - name="Alexander Kieper" + name="alexander-kieper" role="Sportwart" - img="img/Alexander_Kieper.jpg" mail="sportwart@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Christian Wolf" + name="christian-wolf" role="Stellv. Sportwart" img="img/Christian_Wolf.jpg" mail="sportwart@tanzsportclub.vfl-sindelfingen.de" @@ -78,31 +71,28 @@ Ein jeder Club benötigt einen Vorstand, der die Vereinsführung übernimmt und {{< tsc/person-list >}} {{< tsc/vorstand - name="Petra Kohler" + name="petra-kohler" role="Breitensportwartin" - img="img/Petra_Kohler.jpg" mail="breitensportwart@tanzsportclub.vfl-sindelfingen.de" >}} {{< /tsc/person-list >}} {{< tsc/person-list >}} {{< tsc/vorstand - name="Anna Ceglarski" + name="anna-ceglarski" role="Veranstaltungen" - img="img/Anna_Ceglarski.jpg" mail="veranstaltungen@tanzsportclub.vfl-sindelfingen.de" >}} {{< /tsc/person-list >}} {{< tsc/person-list >}} {{< tsc/vorstand - name="Martin Schatke" + name="martin-schatke" role="Jugendwart" - img="img/Martin_Schatke.jpg" mail="jugend@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Olivia Paprotny" + name="olivia-paprotny" role="Stellv. Jugendwartin" img="img/Olivia_Paprotny.jpg" >}} @@ -110,81 +100,69 @@ Ein jeder Club benötigt einen Vorstand, der die Vereinsführung übernimmt und {{< tsc/person-list >}} {{< tsc/vorstand - name="Diane Mongellaz" + name="diane-mongellaz" role="Presse" - img="img/Diane_Mongellaz.jpg" mail="presse@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Katharina Pfaffenrot" + name="katharina-pfaffenrot" role="Presse" - img="img/Katharina_Pfaffenrot.jpg" mail="presse@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Nelly Fuchs" + name="nelly-fuchs" role="Presse" - img="img/Nelly_Fuchs.jpeg" mail="presse@tanzsportclub.vfl-sindelfingen.de" >}} {{< /tsc/person-list >}} {{< tsc/person-list >}} {{< tsc/vorstand - name="Maren Spengler" + name="maren-spengler" role="Dancestyles" - img="img/Maren_Spengler.jpg" mail="dance-styles@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Britta Sigmund" + name="britta-sigmund" role="Stellv. Dancestyles" - img="img/Britta_Sigmund.jpg" mail="dance-styles@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Kim Wustrack" + name="kim-wustrack" role="Stellv. Dancestyles" - img="img/Kim_Wustrack.jpg" mail="dance-styles@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Franziska Bader" + name="franziska-bader" role="Stellv. Dancestyles" - img="img/Franziska_Bader.jpg" >}} {{< /tsc/person-list >}} {{< tsc/person-list >}} {{< tsc/vorstand - name="Bernd Peter" + name="bernd-peter" role="Webmaster" - img="img/Bernd_Peter.jpg" mail="vflwebmaster@bptr.de" >}} {{< tsc/vorstand - name="Christian Wolf" + name="christian-wolf" role="Stellv. Webmaster" - img="img/Christian_Wolf.jpg" mail="vizesportwart@tsc-vfl.de" >}} {{< /tsc/person-list >}} {{< tsc/person-list >}} {{< tsc/vorstand - name="Klaus Richter" + name="klaus-richter" role="Gebaeude" - img="img/Klaus_Richter.jpg" mail="kontakt@tanzsportclub.vfl-sindelfingen.de" >}} {{< tsc/vorstand - name="Stefan Dietl" + name="stefan-dietl" role="Gebaeude" - img="img/Stefan_Dietl.jpg" >}} {{< tsc/vorstand - name="Joseph Ripp" + name="joseph-ripp" role="Gebaeude" - img="img/male.png" >}} {{< /tsc/person-list >}} diff --git a/content/page/club/vorstand/img/Alexander_Kieper.jpg b/content/person/alexander-kieper/Alexander_Kieper.jpg similarity index 100% rename from content/page/club/vorstand/img/Alexander_Kieper.jpg rename to content/person/alexander-kieper/Alexander_Kieper.jpg diff --git a/content/person/alexander-kieper/index.md b/content/person/alexander-kieper/index.md new file mode 100644 index 0000000..91bf706 --- /dev/null +++ b/content/person/alexander-kieper/index.md @@ -0,0 +1,6 @@ +--- +title: "Alexander Kieper" +draft: true +image: "Alexander_Kieper.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Anja_Vollmer.jpg b/content/person/anja-vollmer/Anja_Vollmer.jpg similarity index 100% rename from content/page/club/vorstand/img/Anja_Vollmer.jpg rename to content/person/anja-vollmer/Anja_Vollmer.jpg diff --git a/content/person/anja-vollmer/index.md b/content/person/anja-vollmer/index.md new file mode 100644 index 0000000..87853ff --- /dev/null +++ b/content/person/anja-vollmer/index.md @@ -0,0 +1,6 @@ +--- +title: "Anja Vollmer" +draft: true +image: "Anja_Vollmer.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Anja_Westerhoff.jpg b/content/person/anja-westerhoff/Anja_Westerhoff.jpg similarity index 100% rename from content/page/club/vorstand/img/Anja_Westerhoff.jpg rename to content/person/anja-westerhoff/Anja_Westerhoff.jpg diff --git a/content/person/anja-westerhoff/index.md b/content/person/anja-westerhoff/index.md new file mode 100644 index 0000000..160c107 --- /dev/null +++ b/content/person/anja-westerhoff/index.md @@ -0,0 +1,6 @@ +--- +title: "Anja Westerhoff" +draft: true +image: "Anja_Westerhoff.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Anna_Ceglarski.jpg b/content/person/anna-ceglarski/Anna_Ceglarski.jpg similarity index 100% rename from content/page/club/vorstand/img/Anna_Ceglarski.jpg rename to content/person/anna-ceglarski/Anna_Ceglarski.jpg diff --git a/content/person/anna-ceglarski/index.md b/content/person/anna-ceglarski/index.md new file mode 100644 index 0000000..7c84508 --- /dev/null +++ b/content/person/anna-ceglarski/index.md @@ -0,0 +1,6 @@ +--- +title: "Anna Ceglarski" +draft: true +image: "Anna_Ceglarski.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Axel_Fedeler.jpg b/content/person/axel-fedeler/Axel_Fedeler.jpg similarity index 100% rename from content/page/club/vorstand/img/Axel_Fedeler.jpg rename to content/person/axel-fedeler/Axel_Fedeler.jpg diff --git a/content/person/axel-fedeler/index.md b/content/person/axel-fedeler/index.md new file mode 100644 index 0000000..292753d --- /dev/null +++ b/content/person/axel-fedeler/index.md @@ -0,0 +1,6 @@ +--- +title: "Axel Fedeler" +draft: true +image: "Axel_Fedeler.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Bernd_Peter.jpg b/content/person/bernd-peter/Bernd_Peter.jpg similarity index 100% rename from content/page/club/vorstand/img/Bernd_Peter.jpg rename to content/person/bernd-peter/Bernd_Peter.jpg diff --git a/content/person/bernd-peter/index.md b/content/person/bernd-peter/index.md new file mode 100644 index 0000000..178de0b --- /dev/null +++ b/content/person/bernd-peter/index.md @@ -0,0 +1,6 @@ +--- +title: "Bernd Peter" +draft: true +image: "Bernd_Peter.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Britta_Sigmund.jpg b/content/person/britta-sigmund/Britta_Sigmund.jpg similarity index 100% rename from content/page/club/vorstand/img/Britta_Sigmund.jpg rename to content/person/britta-sigmund/Britta_Sigmund.jpg diff --git a/content/person/britta-sigmund/index.md b/content/person/britta-sigmund/index.md new file mode 100644 index 0000000..060db38 --- /dev/null +++ b/content/person/britta-sigmund/index.md @@ -0,0 +1,6 @@ +--- +title: "Britta Sigmund" +draft: true +image: "Britta_Sigmund.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Christian_Wolf.jpg b/content/person/christian-wolf/Christian_Wolf.jpg similarity index 100% rename from content/page/club/vorstand/img/Christian_Wolf.jpg rename to content/person/christian-wolf/Christian_Wolf.jpg diff --git a/content/person/christian-wolf/index.md b/content/person/christian-wolf/index.md new file mode 100644 index 0000000..2dd40e3 --- /dev/null +++ b/content/person/christian-wolf/index.md @@ -0,0 +1,6 @@ +--- +title: "Christian Wolf" +draft: true +image: "Christian_Wolf.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Diane_Mongellaz.jpg b/content/person/diane-mongellaz/Diane_Mongellaz.jpg similarity index 100% rename from content/page/club/vorstand/img/Diane_Mongellaz.jpg rename to content/person/diane-mongellaz/Diane_Mongellaz.jpg diff --git a/content/person/diane-mongellaz/index.md b/content/person/diane-mongellaz/index.md new file mode 100644 index 0000000..b29abea --- /dev/null +++ b/content/person/diane-mongellaz/index.md @@ -0,0 +1,6 @@ +--- +title: "Diane Mongellaz" +draft: true +image: "Diane_Mongellaz.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Frank_Westerhoff.jpg b/content/person/frank-westerhoff/Frank_Westerhoff.jpg similarity index 100% rename from content/page/club/vorstand/img/Frank_Westerhoff.jpg rename to content/person/frank-westerhoff/Frank_Westerhoff.jpg diff --git a/content/person/frank-westerhoff/index.md b/content/person/frank-westerhoff/index.md new file mode 100644 index 0000000..94a1c9d --- /dev/null +++ b/content/person/frank-westerhoff/index.md @@ -0,0 +1,6 @@ +--- +title: "Frank Westerhoff" +draft: true +image: "Frank_Westerhoff.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Franziska_Bader.jpg b/content/person/franziska-bader/Franziska_Bader.jpg similarity index 100% rename from content/page/club/vorstand/img/Franziska_Bader.jpg rename to content/person/franziska-bader/Franziska_Bader.jpg diff --git a/content/person/franziska-bader/index.md b/content/person/franziska-bader/index.md new file mode 100644 index 0000000..066374d --- /dev/null +++ b/content/person/franziska-bader/index.md @@ -0,0 +1,6 @@ +--- +title: "Franziska Bade" +draft: true +image: "Franziska_Bader.jpg" +headless: true +--- diff --git a/content/person/joseph-ripp/index.md b/content/person/joseph-ripp/index.md new file mode 100644 index 0000000..60517f1 --- /dev/null +++ b/content/person/joseph-ripp/index.md @@ -0,0 +1,6 @@ +--- +title: "Joseph Ripp" +draft: true +image: "" +headless: true +--- diff --git a/content/page/club/vorstand/img/Katharina_Pfaffenrot.jpg b/content/person/katharina-pfaffenrot/Katharina_Pfaffenrot.jpg similarity index 100% rename from content/page/club/vorstand/img/Katharina_Pfaffenrot.jpg rename to content/person/katharina-pfaffenrot/Katharina_Pfaffenrot.jpg diff --git a/content/person/katharina-pfaffenrot/index.md b/content/person/katharina-pfaffenrot/index.md new file mode 100644 index 0000000..0bb5eda --- /dev/null +++ b/content/person/katharina-pfaffenrot/index.md @@ -0,0 +1,6 @@ +--- +title: "Katarina Pfaffenrot" +draft: true +image: "Katharina_Pfaffenrot.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Kim_Wustrack.jpg b/content/person/kim-wustrack/Kim_Wustrack.jpg similarity index 100% rename from content/page/club/vorstand/img/Kim_Wustrack.jpg rename to content/person/kim-wustrack/Kim_Wustrack.jpg diff --git a/content/person/kim-wustrack/index.md b/content/person/kim-wustrack/index.md new file mode 100644 index 0000000..67fc168 --- /dev/null +++ b/content/person/kim-wustrack/index.md @@ -0,0 +1,6 @@ +--- +title: "Kim Wustrack" +draft: true +image: "Kim_Wustrack.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Klaus_Arndt.jpg b/content/person/klaus-arndt/Klaus_Arndt.jpg similarity index 100% rename from content/page/club/vorstand/img/Klaus_Arndt.jpg rename to content/person/klaus-arndt/Klaus_Arndt.jpg diff --git a/content/person/klaus-arndt/index.md b/content/person/klaus-arndt/index.md new file mode 100644 index 0000000..7952f9a --- /dev/null +++ b/content/person/klaus-arndt/index.md @@ -0,0 +1,6 @@ +--- +title: "Klaus Arndt" +draft: true +image: "Klaus_Arndt.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Klaus_Richter.jpg b/content/person/klaus-richter/Klaus_Richter.jpg similarity index 100% rename from content/page/club/vorstand/img/Klaus_Richter.jpg rename to content/person/klaus-richter/Klaus_Richter.jpg diff --git a/content/person/klaus-richter/index.md b/content/person/klaus-richter/index.md new file mode 100644 index 0000000..9642bd9 --- /dev/null +++ b/content/person/klaus-richter/index.md @@ -0,0 +1,6 @@ +--- +title: "Klaus Richter" +draft: true +image: "Klaus_Richter.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Maren_Spengler.jpg b/content/person/maren-spengler/Maren_Spengler.jpg similarity index 100% rename from content/page/club/vorstand/img/Maren_Spengler.jpg rename to content/person/maren-spengler/Maren_Spengler.jpg diff --git a/content/person/maren-spengler/index.md b/content/person/maren-spengler/index.md new file mode 100644 index 0000000..8244591 --- /dev/null +++ b/content/person/maren-spengler/index.md @@ -0,0 +1,6 @@ +--- +title: "Maren Spengler" +draft: true +image: "Maren_Spengler.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Martin_Schatke.jpg b/content/person/martin-schatke/Martin_Schatke.jpg similarity index 100% rename from content/page/club/vorstand/img/Martin_Schatke.jpg rename to content/person/martin-schatke/Martin_Schatke.jpg diff --git a/content/person/martin-schatke/index.md b/content/person/martin-schatke/index.md new file mode 100644 index 0000000..f236a81 --- /dev/null +++ b/content/person/martin-schatke/index.md @@ -0,0 +1,6 @@ +--- +title: "Martin Schatke" +draft: true +image: "Martin_Schatke.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Nelly_Fuchs.jpeg b/content/person/nelly-fuchs/Nelly_Fuchs.jpeg similarity index 100% rename from content/page/club/vorstand/img/Nelly_Fuchs.jpeg rename to content/person/nelly-fuchs/Nelly_Fuchs.jpeg diff --git a/content/person/nelly-fuchs/index.md b/content/person/nelly-fuchs/index.md new file mode 100644 index 0000000..8196ec3 --- /dev/null +++ b/content/person/nelly-fuchs/index.md @@ -0,0 +1,6 @@ +--- +title: "Nelly Fuchs" +draft: true +image: "Nelly_Fuchs.jpeg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Olivia_Paprotny.jpg b/content/person/olivia-paprotny/Olivia_Paprotny.jpg similarity index 100% rename from content/page/club/vorstand/img/Olivia_Paprotny.jpg rename to content/person/olivia-paprotny/Olivia_Paprotny.jpg diff --git a/content/person/olivia-paprotny/index.md b/content/person/olivia-paprotny/index.md new file mode 100644 index 0000000..cda7c13 --- /dev/null +++ b/content/person/olivia-paprotny/index.md @@ -0,0 +1,6 @@ +--- +title: "Olivia Paprotny" +draft: true +image: "Olivia_Paprotny.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Petra_Kohler.jpg b/content/person/petra-kohler/Petra_Kohler.jpg similarity index 100% rename from content/page/club/vorstand/img/Petra_Kohler.jpg rename to content/person/petra-kohler/Petra_Kohler.jpg diff --git a/content/person/petra-kohler/index.md b/content/person/petra-kohler/index.md new file mode 100644 index 0000000..af4497f --- /dev/null +++ b/content/person/petra-kohler/index.md @@ -0,0 +1,6 @@ +--- +title: "Petra Kohler" +draft: true +image: "Petra_Kohler.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Stefan_Dietl.jpg b/content/person/stefan-dietl/Stefan_Dietl.jpg similarity index 100% rename from content/page/club/vorstand/img/Stefan_Dietl.jpg rename to content/person/stefan-dietl/Stefan_Dietl.jpg diff --git a/content/person/stefan-dietl/index.md b/content/person/stefan-dietl/index.md new file mode 100644 index 0000000..777c8ed --- /dev/null +++ b/content/person/stefan-dietl/index.md @@ -0,0 +1,6 @@ +--- +title: "Stefan Dietl" +draft: true +image: "Stefan_Dietl.jpg" +headless: true +--- diff --git a/content/page/club/vorstand/img/Uwe_Keck.jpg b/content/person/uwe-keck/Uwe_Keck.jpg similarity index 100% rename from content/page/club/vorstand/img/Uwe_Keck.jpg rename to content/person/uwe-keck/Uwe_Keck.jpg diff --git a/content/person/uwe-keck/index.md b/content/person/uwe-keck/index.md new file mode 100644 index 0000000..9e08739 --- /dev/null +++ b/content/person/uwe-keck/index.md @@ -0,0 +1,6 @@ +--- +title: "Uwe Keck" +draft: true +image: "Uwe_Keck.jpg" +headless: true +--- diff --git a/themes/tsc_vfl/archetypes/person.md b/themes/tsc_vfl/archetypes/person.md new file mode 100644 index 0000000..e757331 --- /dev/null +++ b/themes/tsc_vfl/archetypes/person.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +draft: true +image: "" +headless: true +--- diff --git a/themes/tsc_vfl/layouts/partials/tsc/start-person.html b/themes/tsc_vfl/layouts/partials/tsc/start-person.html index df32704..7d3ff57 100644 --- a/themes/tsc_vfl/layouts/partials/tsc/start-person.html +++ b/themes/tsc_vfl/layouts/partials/tsc/start-person.html @@ -1,8 +1,8 @@
- {{- $person := . -}} - {{- with .Get "img" -}} - + {{- $param := . -}} + {{- with .image -}} + {{- end -}}
diff --git a/themes/tsc_vfl/layouts/shortcodes/tsc/vorstand.html b/themes/tsc_vfl/layouts/shortcodes/tsc/vorstand.html index 4e21a2b..dd0f505 100644 --- a/themes/tsc_vfl/layouts/shortcodes/tsc/vorstand.html +++ b/themes/tsc_vfl/layouts/shortcodes/tsc/vorstand.html @@ -1,11 +1,35 @@ -{{ partial "tsc/start-person" . }} -
-
{{ .Get "role" }}
-
- {{ with .Get "mail" }} - +{{ with .Site.GetPage "person" }} + {{/*{{ $person := . }}*/}} + {{ with .GetPage ($.Get "name") }} + {{ $imageName := .Params.Get "image" }} + {{ $image := "" }} + {{ with .Resources.GetMatch $imageName}} + {{ $image = . }} + {{ else }} + {{ warnf "Image for %s is not correclty found. Falling back to default." ($.Get "name") }} + {{ with .Resources.ByType "image" }} + {{ $image = index . 0 }} + {{ else }} + {{/* $image */}} + {{ end }} {{ end }} - {{ .Get "name" }} -
-
-{{ partial "tsc/end-person" . }} + {{ $config := + dict + "image" $image + "name" (.Params.Get "title") + }} + {{ partial "tsc/start-person" $config }} +
+
{{ $.Get "role" }}
+
+ {{ with $.Get "mail" }} + + {{ end }} + {{ .Params.Get "title" }} +
+
+ {{ partial "tsc/end-person" . }} + {{ else }} + {{ errorf "Cannot find person %s." ($.Get "name") }} + {{ end }} +{{ end }} diff --git a/content/page/club/vorstand/img/male.png b/themes/tsc_vfl/static/img/persons/male.png similarity index 100% rename from content/page/club/vorstand/img/male.png rename to themes/tsc_vfl/static/img/persons/male.png