{% extends 'includes/layout.njk' %} {% from 'includes/tags.njk' import PostTags with context%} {% macro Gallery(photos) %}
{% set i = 0 %} {% for p in photos %} {% set i = i + 1 %} {% endfor %}
{% endmacro %} {% block body %}
{{ page.title }}
{{date(page.date, 'YYYY/M/D')}}
{{ PostTags(page) }} {% if page.photos and page.photos.length > 0 %} {{Gallery(page.photos)}} {% endif %}
{{ page.content | safe }}
{{ paginator() }}
{% endblock %}