{% extends "layout.html" %} {% from "macros/blog.html" import render_blog_post %} {% block title %}{{ this.title }}{% endblock %} {% block body %} {% set background_image = this.attachments.images.first() %}

{{ this.title }}

{{ this.subtitle }}

Posted on {{ this.pub_date }} by {% if this.twitter_handle %}{{ this.author or this.twitter_handle }}{% else %}{{ this.author }} {% endif %}
{{ render_blog_post(this) }}
{% endblock %}