How do I display tags comma separated with "and" between the last two tags? I would like to output a tag-list like this: 

foo, bar and baz

I know how to elegantly output a tag list with no comma after the last tag:

{% for tag in tags %}
    {{ tag }}{{ not loop.last ? ', ' }}
{% endfor %}


Is there a similarly elegant solution for getting the tags to display the way I want?
Not very elegant, but... :)

{% for tag in tags %}
    {{ tag.type }}{{ loop.index &lt; loop.length-1 ? ', ' : loop.index &lt; loop.length ? ' and' }}
{% endfor %}