Adding conditional content for Categories with Featured view

I have categories and subcategories using the Categories with Featured Topics view. I would like to add conditional content to the category <td> based on the parent category. If there were something unique I could test for with handlebars this would be easy to do in the template, but as far as I can tell there isn’t.

I can’t seem to do anything useful with scripts in the Custom HTML either, probably because of how ember renders things I guess? So unless I’m overlooking a simple solution (very possible), I assume I’m looking at a plugin of some sort.

My question is, what would be the best way to approach this? Should I try creating something I can test for with the template, like c.uniqueKey? Or should I create a handlebars helper that gives me conditional logic to test based on the value of c.id? Or some other thing?