{% extends "layout.html" %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
{% if this.body %}
{{ this.title }}
{{ this.body }}
{% else %}
{{ this.title }}
{% endif %}
{% for post in this.children %}
-
{{ post.title }}
{% if post.subtitle %}{{ post.subtitle }}
{% endif %}
{% if post.author %}by {{ post.author }}
{% endif %}
{% if post.publisher %}Publisher: {{ post.publisher}}
{% endif %}
{% if post.pub_date %}Publish date: {{ post.pub_date }}
{% endif %}
{% if post.ref %}Referenced in: {{ post.ref }}{% endif %}
{% endfor %}
{% endblock %}