Change category.type to category.template, update readme.md