{% macro render_blog_post(post, from_index=false) %}
<div class="blog-post">
    <div class="headline-wrap">
        <h1><a href="{{ post|url }}">{{ post.title }}</a></h1>
        <h3>{{ post.pub_date }}</h3>
    </div>
    <div class="article-wrap">
        {{ post.body }}
    </div>
</div>
{% endmacro %}
