From 9b886892c27e61810f8eedd3ae4d1e9e62779e22 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Thu, 5 Dec 2024 11:03:05 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20Jana=20Sch=C3=A4fer's=20presentation=20on?= =?UTF-8?q?=20site?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/page/club/trainer/index.md | 2 +- content/person/jana-schaefer/index.md | 2 +- content/person/jana-schaefer/placeholder.jpeg | Bin 1606 -> 0 bytes content/person/jana-schaefer/placeholder.png | Bin 1395 -> 0 bytes .../tsc_vfl/layouts/shortcodes/tsc/trainer.html | 5 +++-- 5 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 content/person/jana-schaefer/placeholder.jpeg delete mode 100644 content/person/jana-schaefer/placeholder.png diff --git a/content/page/club/trainer/index.md b/content/page/club/trainer/index.md index c6dbf1e..22c6b1c 100644 --- a/content/page/club/trainer/index.md +++ b/content/page/club/trainer/index.md @@ -93,7 +93,7 @@ aliases: {{< tsc/trainer name="jasmina-hein" >}} {{< tsc/trainer - name="jana.schaefer" >}} + name="jana-schaefer" >}} {{< tsc/trainer name="nadine-hennessen" >}} {{< /tsc/person-list >}} diff --git a/content/person/jana-schaefer/index.md b/content/person/jana-schaefer/index.md index 2a2e47e..1f7512b 100644 --- a/content/person/jana-schaefer/index.md +++ b/content/person/jana-schaefer/index.md @@ -1,7 +1,7 @@ --- title: "Jana Schäfer" draft: false -image: "placeholder.jpeg" +# image: "placeholder.jpeg" sex: female headless: true --- diff --git a/content/person/jana-schaefer/placeholder.jpeg b/content/person/jana-schaefer/placeholder.jpeg deleted file mode 100644 index 6e1240b2fbe2068d3daf79c3ab33265f6317ca01..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1606 zcmbW!XH?Ty6aesl79k0N1QI|6qYSAasBFPNSpfu8kSQAx5yS{#rXWj{At1wolL|6r z$etn)HmzYVWrby-C_^BEF%4~x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644 index 1f3f1c310c952c5586c2b89fee026c405f0791d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1395 zcmV-(1&sQMP)pF8FWQhbW?9;ba!ELWdL_~cP?peYja~^aAhuUa%Y?FJQ@H1019+P zSaeirbZlh+ZDDL>{*`0M000E)Nkl2c~0BXA)qm+o(AY`kb|U|bVa ztgN1+${xZk3UF77g0(INPGuJ+HxvXz*Jy!@&u9_V#_k@A7MB2L0hH$$iie>tqUSK7+JFPY`qTUZd<8K*|dY!8Zi>H z)!N^U;V)aQ3xUdLzKuu3<(joV!Y&A!-H|P?dU+Z{(<`}P_QK=_tNVpjSq;)jax}8Q z)N!$k&)W#?PGe=BmCh3edE8ECfr9n>sSi{cZ=aG+b6;1(34!7$a#_v$~~a+kmZs)AZ-}C%S$voSQg@u#^zj zjQ~Y>?MT!111=`cbG^MMyS^$cD!u?b>*{qQ1bw}&Y3B#-KAtG6tUe4H#trLeThopu zK8&1K1cnJDy#fEK((&|Gpx@D^KNU;8?<3FE zcrV-0&~O>Be(+ym;EIn|yq5(~$a8ZL>y^6y!h6|@%9kD$nBeB36U$bto$n{nzj%46 zC|R>6KRy_FI1qUnD12-py18}l&Jni|T~{`lOvWz6CT$jF<4C{X1_Yq* zoF5;l?X0iA=3D!kGNs9yNhU97QCOJWe4%hGDwmdCy>IHDvgK7(<1~o3qCAnCY@u*W zA_Enzd-wLkRnJ+?#JApIMFF1FO#I#9e*~bkvbsXhL%GWoDvD@XTjS1l17OfixlR-! zf>H+{bGnmKi}7>Y|4;B2l_WQnr|_$1dUvVo``G{%@(EO(#WKIo4bq&Cvq z-TCJObBmh|Ith^(V7JHU7UhgWlZoV29%-!q?QbvgZ!}Jw*4+RA002ovPDHLkV1jMf Bn`Hn1 diff --git a/themes/tsc_vfl/layouts/shortcodes/tsc/trainer.html b/themes/tsc_vfl/layouts/shortcodes/tsc/trainer.html index 603859d..49fe74e 100644 --- a/themes/tsc_vfl/layouts/shortcodes/tsc/trainer.html +++ b/themes/tsc_vfl/layouts/shortcodes/tsc/trainer.html @@ -5,16 +5,17 @@ {{ with .Resources.GetMatch $imageName}} {{ $image = (.Fit "60x80 webp").RelPermalink }} {{ else }} - {{ warnf "Image for %s is not correclty found. Falling back to default." ($.Get "name") }} {{ with .Resources.ByType "image" }} {{ $image = ((index . 0).Fit "60x80 webp").RelPermalink }} + {{ warnf "Image for %s is not correclty found. Falling back to first found image in page resources." ($.Get "name") }} {{ else }} {{ with .Params.sex }} {{ if eq . "male" }} {{ $image = relURL "img/persons/male.png" }} {{ else }} - {{ $image = relURL "img/persons/female.png" }} + {{ $image = relURL "img/persons/female.png" }} {{ end }} + {{ warnf "Image for %s is not correclty found. Falling back to generic image." ($.Get "name") }} {{ else }} {{ warnf "Cannot find sex of %s." ($.Get "name") }} {{ end }}