CMS Development

matttunney
Colaborador líder

Blog post variable

resolver

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 Me gusta
1 Soluciones aceptada
matttunney
Solución
Colaborador líder

Blog post variable

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

No need for =='True'

Ver la solución en mensaje original publicado

0 Me gusta
1 Respuesta 1
matttunney
Solución
Colaborador líder

Blog post variable

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

No need for =='True'

0 Me gusta