Files
.gitea
assets
content
data
i18n
layouts
_default
abiturienten
about
anmeldeformular
anmeldung
author
begabte
cantorfora
cantorpreis
forms
ganztagsangebote
kontakt
pages
partials
blog-sidebar.html
card-btn-ni.html
card-icon.html
collapsible.html
download.html
filter-controls.html
footer.html
head.html
header-cl-url.html
header.html
info.html
modal.html
opengraph.html
page-header.html
pagination.html
preloader.html
termin.html
twitter.html
projektwoche
schulchronik
shortcodes
superhaufen
termine
wettbewerbe
404.html
index.html
robots.txt
static
.gitignore
.mailmap
LICENSE
config.yml
gcg-website/layouts/partials/termin.html
Denys Konovalov a275283b6e Static CMS v2.0 ()
- [x] Update auf Static CMS v2.0
- [x] aktualisierte Shortcodes (schließt )
- [x] aktualisierte Previews (schließt )
- Ordnerunterstützung
- [x] vervollständigte Seiten
- [x] Aufräumarbeiten

Reviewed-on: https://git.cantorgymnasium.de/gcg/gcg-website/pulls/226
2023-04-19 22:44:06 +02:00

15 lines
783 B
HTML

<div class="card d-md-table w-100 hover-shadow border-primary ps-0 pe-0 mb-4">
<div class="d-md-table-cell text-center p-4 bg-primary text-white mb-4 mb-md-0 termin-tc 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="d-md-table-cell px-4 vertical-align-middle mb-4 mb-md-0 p-2">
<p class="h4 mb-0 d-block">{{ .title }}</p>
</div>
{{ with .location }}
<div class="d-md-table-cell text-end pe-md-4 p-2 vertical-align-middle">
<p><i class="mdi mdi-map-marker-radius-outline icon-s text-primary me-2"></i>{{ . | markdownify }}</p>
</div>
{{ end }}
</div>