{% for post in posts %} {{ post.permalink }} {% if post.updated %} {{ post.updated | formatDate }} {% elif post.date %} {{ post.date | formatDate }} {% endif %} {% endfor %}