2021-09-30 09:18:40 +02:00
|
|
|
{{ $t := (time .Params.event_end) }}
|
|
|
|
<div class='card calendar {{ if $t.Before now }}past{{end}}'>
|
|
|
|
<article class="h-event calendar ">
|
2021-07-09 10:59:04 +02:00
|
|
|
<header>
|
|
|
|
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h2>
|
|
|
|
</header>
|
2021-09-03 15:03:13 +02:00
|
|
|
{{ range first 1 (.Resources.ByType "image") }}
|
|
|
|
<div class='calendar-image-holder'><a href="{{ $.Permalink }}"> <img class="calendar-image" src="{{ .Permalink }}"></a></div>
|
|
|
|
{{ end }}
|
2021-07-09 10:59:04 +02:00
|
|
|
<div class='start-scroller'>
|
|
|
|
<marquee behavior="scroll" direction="left">
|
2021-07-09 14:09:16 +02:00
|
|
|
{{ .Params.localized_begin | markdownify }}
|
2021-07-09 10:59:04 +02:00
|
|
|
</marquee>
|
|
|
|
</div>
|
2021-07-12 22:28:07 +02:00
|
|
|
<div class='calendar metadata'>
|
2021-08-25 20:29:32 +02:00
|
|
|
<div class='calendar-duration'>Duration: <b>{{ .Params.duration }}</b></div>
|
2021-07-12 22:28:07 +02:00
|
|
|
<input class='descr_button' type='checkbox' id='toggle-{{ .Params.uid }}'/>
|
|
|
|
<label class='calendar' for='toggle-{{ .Params.uid }}'>↕</label>
|
2021-09-24 16:59:01 +02:00
|
|
|
<div class='calendar-location p-location'>{{ .Params.location | markdownify }}</div>
|
2021-09-03 15:03:13 +02:00
|
|
|
|
2021-09-24 16:59:01 +02:00
|
|
|
<div class='calendar description p-description' id='event-{{ .Params.uid }}'>
|
2021-07-12 22:28:07 +02:00
|
|
|
{{.Content}}
|
|
|
|
</div>
|
2021-07-09 10:59:04 +02:00
|
|
|
</div>
|
2021-07-12 22:28:07 +02:00
|
|
|
|
2021-07-09 10:59:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
</article>
|
2021-09-30 09:18:40 +02:00
|
|
|
</div>
|
|
|
|
|