CMS Development

matttunney
Contributeur de premier rang

Blog post variable

SOLVE

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 %}
0 Upvotes
1 Accepted solution
matttunney
Solution
Contributeur de premier rang

Blog post variable

SOLVE
{% if content.post_body %}{{ html }}{% endif %}

No need for =='True'

View solution in original post

0 Upvotes
1 Reply 1
matttunney
Solution
Contributeur de premier rang

Blog post variable

SOLVE
{% if content.post_body %}{{ html }}{% endif %}

No need for =='True'

0 Upvotes