Implement views for category pages, fix template comment bug