{% set capcode = post.capcode|capcode %} {% if post.email|length > 0 and (config.hide_sage!=true or post.email!='sage') and config.hide_email!=true %} {# start email #} {% if 'sage' in post.email %} {% elseif 'noko' in post.email %} {% elseif 'repo' in post.email %} {% elseif config.hide_email!=true %} {% endif %} {% else %}   {% endif %} {{ post.name|bidi_cleanup }} {% if post.trip|length > 0 %} {{ post.trip }} {% endif %} {% if post.email|length > 0 and (config.hide_sage!=true or post.email!='sage') and config.hide_email!=true %} {# end email #} {% endif %} {% if capcode %} {{ capcode.cap }} {% endif %}