Conditionally output by content type using Twig
Probably because {{ fields.type.content }} = &lt;div class="something"&gt;blog&lt;/div&gt;

so try

{% if fields.type.content|striptags == {{ 'blog'|t }} %}


If you do not want to have to use |striptags you could strip the markup from the Views UI.

Also, do not check mark Exclude from display in configure field, because if you do this your template file will not have access to that field.  

Side note: you forgot to close the div in line 3.



Alternatively 

{% if row._entity.gettype == 'content_type_machine_name' %}


 alternate method credit: 4K4