Add category class to the cookbook partial.

:fork_and_knife: This colors the cookbook partial based on their category.