simplifying the category template content