fix related template
All checks were successful
website-main / prod-build (push) Successful in 12s
website-main / test-build (push) Successful in 9s

This commit is contained in:
2024-03-24 16:12:57 +01:00
parent 942ef76fc9
commit 4faf51a079

View File

@ -1 +1 @@
{{ return (where .Site.RegularPages "Type" .Type) | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3 }}
{{ return ((where .Site.RegularPages "Type" .Type) | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3) }}