modified templatetags to return associated page info