move to group data folder

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1694327945404512652/master
Toshaan Bharvani 3 years ago
parent ef82702005
commit 87a9b2f7e5

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

Loading…
Cancel
Save