Added Christmas greetings
This commit is contained in:
parent
b03f71ebd1
commit
bc5d536da2
BIN
assets/stock/christmas/artspace-ai-001.png
Normal file
BIN
assets/stock/christmas/artspace-ai-001.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
28
content/news/2024/2024-12-24-weihnachten/index.md
Normal file
28
content/news/2024/2024-12-24-weihnachten/index.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
title: "Frohe Weihnachten 2024"
|
||||||
|
date: 2024-12-24T18:06:14+01:00
|
||||||
|
summary: |-
|
||||||
|
Wir wünschen unseren Mitgliedern und Besuchern ein frohes Weihnachtsfest 2024 und einen guten Rutsch ins neue Jahr.
|
||||||
|
draft: false
|
||||||
|
# Datum, ab wann der Artikel nicht mehr angezeigt werden soll
|
||||||
|
# expiryDate: 2099-12-31
|
||||||
|
# Die nächste Zeile anpassen, wenn das Thumbnail eingerichtet ist
|
||||||
|
image: stock/christmas/artspace-ai-001.png
|
||||||
|
# Wenn ein Blog-beitrag auch eine Terminankündigung sein soll, hier eintragen:
|
||||||
|
# announcement:
|
||||||
|
# date: 2023-11-11
|
||||||
|
# # Optional kann man in der Terminerinnerung noch einen Kurztitel vergeben.
|
||||||
|
# name: ""
|
||||||
|
# keywords:
|
||||||
|
# - Ersters Schlagwort
|
||||||
|
# - Zweites Schlagwort
|
||||||
|
# - Drittes Schlagwort
|
||||||
|
---
|
||||||
|
|
||||||
|
Wir wünschen unseren Mitgliedern, Trainer/innen, Interessierten und deren Familien und Freune ein schönes Weihnachtsfest 2024 und einen guten Rutsch ins neue Jahr 2025.
|
||||||
|
|
||||||
|
Unser Verein geht in die Weihnachtspause.
|
||||||
|
Wir werden wieder ab dem 07.01.2025 für Sie verfübar sein.
|
||||||
|
|
||||||
|
{{< tsc/news/inline-float src="stock/christmas/artspace-ai-001.png" alt="Siegerpokal" width="500" height="801">}}
|
||||||
|
|
@ -1,33 +1,37 @@
|
|||||||
{{ $cols := .Parent.Get "columns" }}
|
{{ $cols := .Parent.Get "columns" }}
|
||||||
{{ $imgOriginal := .Page.Resources.GetMatch (.Get "src") }}
|
{{ $imgOriginal := .Page.Resources.GetMatch (.Get "src") }}
|
||||||
{{ $img := $imgOriginal }}
|
{{ $img := $imgOriginal }}
|
||||||
{{ if eq $cols "2" }}
|
{{ with $imgOriginal }}
|
||||||
{{ $img = $imgOriginal.Fit "500x1000 webp" }}
|
{{ if eq $cols "2" }}
|
||||||
{{ else if eq $cols "3" }}
|
{{ $img = $imgOriginal.Fit "500x1000 webp" }}
|
||||||
{{ $img = $imgOriginal.Fit "333x800 webp" }}
|
{{ else if eq $cols "3" }}
|
||||||
{{ else if eq $cols "4" }}
|
{{ $img = $imgOriginal.Fit "333x800 webp" }}
|
||||||
{{ $img = $imgOriginal.Fit "250x500 webp" }}
|
{{ else if eq $cols "4" }}
|
||||||
{{ else }}
|
{{ $img = $imgOriginal.Fit "250x500 webp" }}
|
||||||
{{ $img = $imgOriginal.Fit "800x1000 webp" }}
|
{{ else }}
|
||||||
{{ end }}
|
{{ $img = $imgOriginal.Fit "800x1000 webp" }}
|
||||||
{{ $imgFitted := $imgOriginal.Fit "850x1000 webp" }}
|
{{ end }}
|
||||||
<figure class="tsc-gallery-img">
|
{{ $imgFitted := $imgOriginal.Fit "850x1000 webp" }}
|
||||||
<a
|
<figure class="tsc-gallery-img">
|
||||||
{{ with .Get "href" }}
|
<a
|
||||||
href="{{ . }}"
|
{{ with $.Get "href" }}
|
||||||
{{ else }}
|
href="{{ . }}"
|
||||||
data-url="{{ $imgFitted.RelPermalink }}"
|
{{ else }}
|
||||||
{{ end }}
|
data-url="{{ $imgFitted.RelPermalink }}"
|
||||||
>
|
{{ end }}
|
||||||
<img
|
|
||||||
{{ with .Get "alt"}}alt="{{.}}"{{ end }}
|
|
||||||
src="{{ $img.RelPermalink }}"
|
|
||||||
>
|
>
|
||||||
</a>
|
<img
|
||||||
{{ with .Get "credits" }}
|
{{ with $.Get "alt"}}alt="{{.}}"{{ end }}
|
||||||
<div class="credits">Foto: {{ . }}</div>
|
src="{{ $img.RelPermalink }}"
|
||||||
{{ end }}
|
>
|
||||||
{{ with .Get "caption" }}
|
</a>
|
||||||
<caption>{{ . }}</caption>
|
{{ with $.Get "credits" }}
|
||||||
{{ end }}
|
<div class="credits">Foto: {{ . }}</div>
|
||||||
</figure>
|
{{ end }}
|
||||||
|
{{ with $.Get "caption" }}
|
||||||
|
<caption>{{ . }}</caption>
|
||||||
|
{{ end }}
|
||||||
|
</figure>
|
||||||
|
{{ else }}
|
||||||
|
{{ warnf "No image found for page %s: %s" .Page.RelPermalink (.Get "src") }}
|
||||||
|
{{ end }}
|
@ -6,6 +6,9 @@
|
|||||||
{{ with .Get "alt" }}alt="{{ . }}"{{ end }}
|
{{ with .Get "alt" }}alt="{{ . }}"{{ end }}
|
||||||
{{- $filename := .Get "src" }}
|
{{- $filename := .Get "src" }}
|
||||||
{{ $resource := .Page.Resources.Get $filename -}}
|
{{ $resource := .Page.Resources.Get $filename -}}
|
||||||
|
{{ if not $resource }}
|
||||||
|
{{ $resource = resources.GetMatch $filename }}
|
||||||
|
{{ end }}
|
||||||
src="{{ $resource.RelPermalink }}"
|
src="{{ $resource.RelPermalink }}"
|
||||||
>
|
>
|
||||||
{{ with .Get "href" }}
|
{{ with .Get "href" }}
|
||||||
|
Loading…
Reference in New Issue
Block a user