I am looking for a way to check whether a Page is part of Related Content or if a Page has Related Content?
Things I’ve tried that don’t work:
{{ $related := (.Site.RegularPages.RelatedIndices . "tags" ) }}
{{ if eq (in $related .Page) 0 }}
{{ if not (in $related .Pages) }}
{{ $related := .Site.RegularPages.Related . }}
{{ if lt $related 1 }}
{{ if eq $related 0 }}
Is this possible? Or am I doing something wrong here?