{% if post.post_type == 'question' -%} {%- trans -%}question{%- endtrans -%} {%- elif post.post_type == 'answer' -%} {%- trans -%}answer{%- endtrans -%} {%- elif post.post_type == 'comment' -%} {%- trans -%}comment{%- endtrans -%} {%- endif -%}: {{ post.thread.title }}