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:
Denys Konovalov 2024-03-24 16:12:57 +01:00
parent 942ef76fc9
commit 4faf51a079
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9

@ -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) }}