Don't generate page from category template
Fix code layout bug