15 lines
503 B
HTML
15 lines
503 B
HTML
|
<div
|
||
|
class="bg-theme-light dark:bg-darkmode-theme-light rounded p-8 text-center">
|
||
|
{{ $image:= .Params.image }}
|
||
|
{{ if $image }}
|
||
|
{{ partial "image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "mx-auto mb-6 rounded" "size" "120x120") }}
|
||
|
{{ end }}
|
||
|
{{ $format := "2 Jan 2006" }}
|
||
|
<div class="date">{{dateFormat $format .Params.date_evt }}</div>
|
||
|
<h4 class="mb-3">
|
||
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||
|
</h4>
|
||
|
<div class="location">{{.Params.ville }}</div>
|
||
|
|
||
|
</div>
|