style calendar cards
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-02 17:30:15 +05:00
parent 41e52ce461
commit 25709716b3
3 changed files with 36 additions and 5 deletions

View File

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