@ -1,4 +1,5 @@
<div class='card 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>
@ -26,3 +27,4 @@
</article>
</div>