push render logic down to category/pages