move to group data folder

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1690132257852795115/master
Toshaan Bharvani 2 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