{% set authors = references.resource_references(resource)['author'] %} {% if resource.is_published %}

Published

  • Published on {{ resource.props.published.strftime('%Y-%m-%d') }} at {{ resource.props.published.strftime('%H:%M') }} {% if authors %} by: {% for author in authors %} {{ author.title }} {% endfor %} {% endif %}
{% else %}

Draft

  • This article does not have a current published date.
  • te
{% endif %}
{% set breadcrumbs = resource.parents(resources)[:-1]|reverse %} {% if breadcrumbs %}

Breadcrumbs

    {%- for parent in breadcrumbs %}
  • {% for arrow in range(loop.index) %} > {% endfor %} {{ parent.title }}
  • {%- endfor %}
{% endif %} {% if prev %}

Previous

    {{ prev.title }}
{% endif %} {% if next %}

Next

    {{ next.title }}
{% endif %} {% set toc_entries = resource.toctree %} {% if toc_entries %}

Contents

    {% for entry in toc_entries %}
  • {{ entry[1] }}
  • {% endfor %}

{% endif %} {% for reference_label in resource.props.references.keys() %} {% if reference_label != 'author' %}

{{ reference_label }}

{% for reference in references.resource_references(resource)[reference_label] %} {{ reference.props.label }} {% endfor %}

{% endif %} {% endfor %}