{% extends "base" %} {% block title %} {{ post.title }} {% endblock title %} {% block header %} {{ blog.title }} {% endblock header %} {% block content %} {% if author.display_name %} {% set name = author.display_name %} {% else %} {% set name = author.username %} {% endif %}
Written by {{name }} — {{ date | date(format="%B %e, %Y") }}