{% extends "base.html" %}

{% import "post-preview.html" as post_macros %}

{% block posthead %} 
  {% for post in section.pages %}
    <link rel="prerender" href="{{ post.permalink }}" />
  {% endfor %}
{% endblock posthead %}

{% block content %}
  {{ section.content | safe }}

  {% for post in section.pages %}
    {{ post_macros::post_preview(post=post) }}
  {% endfor %}
{% endblock content %}
