{{ document.title }}

{% for page in document.pages %} {% if page.annotations.@count > 0 %}

{{ page.title }}

{% for annotation in page.annotations %} {% /for %}
  {{ annotation.number }} {{ annotation.author }} {{ annotation.subject }} {{ annotation.date }}
  {{ annotation.contents }}
 
{% /if %} {% /for %}