mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 08:15:44 +00:00
fix(widget): People widget broke due to renaming of author -> authors
This commit is contained in:
1 parent
c9cd1afefb
commit
32e6009edb
1 file changed
+1
-1
@@ -20,7 +20,7 @@
|
||||
<h2 class="mb-4">{{ . | markdownify }}</h2>
|
||||
</div>
|
||||
|
||||
{{ $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*" }}
|
||||
|
||||
Reference in new issue
Block a user