move to group data folder

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
newmemberlevels
Toshaan Bharvani 2 years ago
parent ef82702005
commit 87a9b2f7e5

@ -46,7 +46,7 @@
{{ $wgname := .Title }} {{ $wgname := .Title }}
{{ $wgurl := .Permalink }} {{ $wgurl := .Permalink }}
{{ $wgcode := path.Base .Permalink }} {{ $wgcode := path.Base .Permalink }}
{{ range $wgmembers := (index $.Site.Data.groups.members $wgcode) }} {{ range $wgmembers := (index $.Site.Data.groups $wgcode) }}
{{ range $wgmember := $wgmembers }} {{ range $wgmember := $wgmembers }}
{{ if eq $wgmember $membercode }} {{ if eq $wgmember $membercode }}
<li><a href="{{ $wgurl }}">{{ $wgname }}</a></li> <li><a href="{{ $wgurl }}">{{ $wgname }}</a></li>

Loading…
Cancel
Save