gcg-website/layouts/partials/termin.html
2023-07-29 13:16:25 +02:00

19 lines
767 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-white rounded">
<span class="h2 d-block">{{ time.Format "2" .date}}</span>
<span class="d-block">{{ time.Format "Jan 2006" .date}}</span>
{{ 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-between">
<h4 class="card-title">{{ .title }}</h4>
{{ with .location }}
<div class="card-text">
<i class="mdi mdi-map-marker-radius-outline icon-s text-primary me-2"></i>{{ . | markdownify }}
</div>
{{ end }}
</div>
</div>
</div>
</div>