correction for better layout due to cancelled members

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
jamesk-patch-1
Toshaan Bharvani 7 months ago
parent 3715bd22d4
commit 8c8fb59c4f

@ -24,7 +24,6 @@
{{ range $.Site.Pages.ByTitle }}
{{ $level := .Param "level" }}
{{ if eq $level $key }}
<div class="col-lg-{{ $col }} pt-5 pb-0 pb-lg-3">
{{ $memberstatus := true }}
{{ $cancelled := now.Format "20060102" }}
{{ if isset .Params "cancelled" }}
@ -34,6 +33,7 @@
{{ end }}
{{ end }}
{{ if eq $memberstatus true }}
<div class="col-lg-{{ $col }} pt-2 pb-0 pb-lg-3">
<div class="box">
<a href="{{ .RelPermalink }}">
{{ if .Param "image" }}
@ -48,10 +48,10 @@
{{ end }}
{{ $i = add $i 1 }}
</div>
{{ end }}
</div>
{{ end }}
{{ end }}
{{ end }}
</div>
</div>
</div>

Loading…
Cancel
Save