Denys Konovalov
18a823cb6a
- move out shared functions to shared templates - remove useless classes - simplify - various cleanups & enhancements
2 lines
192 B
HTML
2 lines
192 B
HTML
{{ $related := (where .Site.RegularPages "Type" .Type) | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3 }}
|
|
{{ return $related }} |