Removed occurences of on_page and used a template tag instead.