add conditional category output to excerpt titles