Create basic structure for list of Turniermeldungen
This commit is contained in:
parent
5b8cb1031e
commit
644156e1d8
@ -1,7 +1,8 @@
|
||||
---
|
||||
title: "Turniermeldungen"
|
||||
date: 2023-01-20T16:27:40+01:00
|
||||
draft: true
|
||||
layout: turniermeldungen
|
||||
draft: false
|
||||
# type: home
|
||||
menu:
|
||||
main:
|
||||
@ -9,3 +10,17 @@ menu:
|
||||
parent: aktuell
|
||||
---
|
||||
|
||||
## Linkliste
|
||||
|
||||
- {{< tsc/link-external url="https://www.tbw.de/" >}}TBW{{< /tsc/link-external >}}
|
||||
- {{< tsc/link-external url="http://www.tanzsport.de/" >}}Deutscher Tanzsportverband e.V. (DTV){{< /tsc/link-external >}}
|
||||
- {{< tsc/link-external url="http://appsrv.tanzsport.de/dtv-webdbs/turnier/suche.spf" >}}Turnierdatenbank des DTV{{< /tsc/link-external >}}
|
||||
- {{< tsc/link-external url="https://ev.tanzsport-portal.de/" >}}für Aktive: ESV-Anmeldung{{< /tsc/link-external >}}
|
||||
- {{< tsc/link-external url="http://de.dancesportinfo.net/SearchCouples.aspx" >}}de.dancesportinfo.net{{< /tsc/link-external >}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
12
themes/tsc_vfl/archetypes/turniermeldung.md
Normal file
12
themes/tsc_vfl/archetypes/turniermeldung.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
dateCompetition: 2024-01-13
|
||||
partner: Westerhoff, Frank
|
||||
partnerin: Westerhff, Anja Dr.
|
||||
ort: GGC Clubheim, Wuppertal
|
||||
telefon: 0202 712476
|
||||
gruppe: Mas III
|
||||
klasse: S
|
||||
sektion: Std
|
||||
titel: GGC Seniorentag Standard
|
||||
nummer: 113904
|
||||
---
|
@ -905,6 +905,25 @@ table.time {
|
||||
}
|
||||
}
|
||||
|
||||
.turniermeldung-list {
|
||||
.turniermeldung {
|
||||
display: flex;
|
||||
.date {
|
||||
font-weight: bold;
|
||||
flex: auto 0 0;
|
||||
}
|
||||
.ort {
|
||||
margin: 0 0 0 10px;
|
||||
flex: auto 1 0;
|
||||
|
||||
a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.iframe-generic {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
19
themes/tsc_vfl/layouts/_default/turniermeldungen.html
Normal file
19
themes/tsc_vfl/layouts/_default/turniermeldungen.html
Normal file
@ -0,0 +1,19 @@
|
||||
{{ define "main" }}
|
||||
<a name="top">
|
||||
<h1>{{ .Title }}</h1>
|
||||
</a>
|
||||
{{ $meldungen := where .Site.RegularPages "Section" "==" "turniermeldung" }}
|
||||
<div class="turniermeldung-list">
|
||||
{{ range (sort $meldungen ".Params.dateCompetition" "asc") }}
|
||||
{{ $date := time.AsTime .Params.dateCompetition }}
|
||||
{{ if ge $date (now.AddDate 0 0 -1) }}
|
||||
<div class="turniermeldung">
|
||||
<div class="date">{{ $date.Format "02.01.2006" }}</div>
|
||||
<div class="ort"><a href="{{ .RelPermalink }}">{{ .Params.ort }}</a></div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ .Content }}
|
||||
{{ partial "totop" }}
|
||||
{{ end }}
|
Loading…
Reference in New Issue
Block a user