Conditional logic to add class for specific section entries
There are many possibilities for this.

One of them is to listen to the section handle if you want it to be triggered only on the blog template:

{% if entry.section.handle == 'blog' %}your-class{% endif %}