gcg-website/layouts/partials/termin.html
Denys Konovalov c61f6f1799
All checks were successful
Website Prod/Test / Produktivumgebung (push) Successful in 14s
Website Prod/Test / Testumgebung (push) Successful in 7s
fix contrasts
2024-10-23 21:57:59 +02:00

20 lines
802 B
HTML

<div class="card hover-shadow border-primary mb-4 p-0">
<div class="row g-0">
<div class="col-md-3 text-center p-4 bg-primary text-secondary">
<div class="h2">{{ time.Format "2" .date}}</div>
<div>{{ time.Format "Jan 2006" .date}}</div>
{{ with .enddate }}<br>bis {{ time.Format "2 Jan 2006" . }}{{ end }}
</div>
<div class="col-md-9">
<div class="card-body h-100 d-flex flex-column justify-content-around">
<h4 class="card-title mb-0">{{ .title }}</h4>
{{ with .location }}
<div class="card-text d-flex align-items-center">
<span class="text-primary icon-s d-flex me-2">{{ partial "mdi" "map-marker-radius-outline" }}</span>
{{ . | markdownify }}
</div>
{{ end }}
</div>
</div>
</div>
</div>