From 32e6009edb6f7ed1777d2e5df87005740ed9904c Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 6 May 2019 15:57:23 +0100 Subject: [PATCH] fix(widget): People widget broke due to renaming of author -> authors --- layouts/partials/widgets/people.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/widgets/people.html b/layouts/partials/widgets/people.html index 6aa51082..be3fdea9 100644 --- a/layouts/partials/widgets/people.html +++ b/layouts/partials/widgets/people.html @@ -20,7 +20,7 @@

{{ . | markdownify }}

- {{ $query := where (where site.Pages "Section" "author") ".Params.user_groups" "intersect" (slice .) }} + {{ $query := where (where site.Pages "Section" "authors") ".Params.user_groups" "intersect" (slice .) }} {{ range $query }} {{ $avatar := (.Resources.ByType "image").GetMatch "*avatar*" }}