add information flag to event items on past events, wip #2
This commit is contained in:
parent
b19bfc8ed7
commit
609a176bf9
@ -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>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user