{% set capcode = post.capcode|capcode %} {% if post.email|length > 0 %} {# start email #} {% endif %} {{ post.name|bidi_cleanup }} {% if post.trip|length > 0 %} {{ post.trip }} {% endif %} {% if post.email|length > 0 %} {# end email #} {% endif %}  {% if capcode %} {{ capcode.cap }} {% endif %}