Blog post variable

SOLVE
Esteemed Contributor

Is there a variable I can check to distinguish if the current is for a blog post of blog listing?

Perhaps something like this:

{% if content.post_body == 'True' %}{{ html }}{% endif %}
Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Solution
Esteemed Contributor
{% if content.post_body %}{{ html }}{% endif %}

No need for =='True'

View solution in original post

Reply
0 Upvotes
1 Reply 1
Solution
Esteemed Contributor
{% if content.post_body %}{{ html }}{% endif %}

No need for =='True'

View solution in original post

Reply
0 Upvotes