diff --git a/themes/openpowerfoundation/layouts/members/list.html b/themes/openpowerfoundation/layouts/members/list.html index 5b56d47..8e58cfe 100644 --- a/themes/openpowerfoundation/layouts/members/list.html +++ b/themes/openpowerfoundation/layouts/members/list.html @@ -24,16 +24,16 @@ {{ range $.Site.Pages.ByTitle }} {{ $level := .Param "level" }} {{ if eq $level $key }} -
- {{ $memberstatus := true }} - {{ $cancelled := now.Format "20060102" }} - {{ if isset .Params "cancelled" }} - {{ $cancelled = time (.Param "cancelled") | dateFormat "20060102" }} - {{ if lt $cancelled $now }} - {{ $memberstatus = false }} - {{ end }} + {{ $memberstatus := true }} + {{ $cancelled := now.Format "20060102" }} + {{ if isset .Params "cancelled" }} + {{ $cancelled = time (.Param "cancelled") | dateFormat "20060102" }} + {{ if lt $cancelled $now }} + {{ $memberstatus = false }} {{ end }} - {{ if eq $memberstatus true }} + {{ end }} + {{ if eq $memberstatus true }} +
- {{ end }} -
+
+ {{ end }} {{ end }} {{ end }}