gcg-website/layouts/partials/related.html

2 lines
192 B
HTML
Raw Normal View History

{{ $related := (where .Site.RegularPages "Type" .Type) | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3 }}
{{ return $related }}