Minor change to categories directive for template.rst