{% set capcode = post.capcode|capcode %} {% if post.email|length > 0 and (config.hide_sage!=true or post.email!='sage') %} {# 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 %}