{% for post in posts %}
  {% with template_name="includes/post.html" %}
  {% include template_name %}
  {% endwith %}
{% endfor %}
{% for post in posts %}
  {% include "includes/post.html" %}
{% endfor %}

Remove obsolete use of with template-tag
Remove obsolete use of with template-tag
