CMS Development

matttunney
Stratege/Strategin

Blog post variable

lösung

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 Akzeptierte Lösung
matttunney
Lösung
Stratege/Strategin

Blog post variable

lösung
{% if content.post_body %}{{ html }}{% endif %}

No need for =='True'

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
1 Antwort
matttunney
Lösung
Stratege/Strategin

Blog post variable

lösung
{% if content.post_body %}{{ html }}{% endif %}

No need for =='True'

0 Upvotes