{% if tags %}
This entry was tagged {% for tag in tags|sort(case_sensitive=true) %} {%- if not loop.first and not loop.last %}, {% endif -%} {%- if loop.last and not loop.first %} and {% endif %} {{ tag }} {%- endfor %}