Refs #13677; optimized relatedItems macro tal definitions to avoid logic repetition; Define listing_url in a way that doesn't require another EEA package