lumbung-theme/layouts/partials/calendar_card.html

28 lines
1.2 KiB
HTML
Raw Normal View History

2021-07-09 10:59:04 +02:00
<div class='card calendar'>
<article class="h-entry calendar">
<header>
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h2>
</header>
{{ 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-07-09 10:59:04 +02:00
<div class='calendar-location'>{{ .Params.location | markdownify }}</div>
2021-07-12 22:28:07 +02:00
<div class='calendar description' id='event-{{ .Params.uid }}'>
{{.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>
</div>