@ -1,5 +1,6 @@
<div class='card calendar'>
<article class="h-event calendar">
{{ $t := (time .Params.event_end) }}
<div class='card calendar {{ if $t.Before now }}past{{end}}'>
<article class="h-event calendar ">
<header>
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h2>
</header>
@ -25,4 +26,5 @@
</article>
</div>