{% include 'block_header_open.html' %} {%- if taxonomy.name -%} {%- set title = taxonomy.name ~ ' | ' ~ site.domain -%} {%- else -%} {%- set title = site.title -%} {%- endif -%} {%- if ( taxonomy.paged > 1 ) -%} {%- set turl = site.url ~ taxonomy.url ~ taxonomy.paged ~ '/' -%} {%- else -%} {%- set turl = site.url ~ taxonomy.url -%} {%- endif -%} {{ title }} {% if site.author.twitter %}{% endif %} {% if site.author.twitter %}{% endif %} {% include 'block_header_close.html' %}
{% if taxonomy.name %}

{{ taxonomy.name }}

{% endif %} {% if taxonomy.description %}

{{ taxonomy.description }}

{% endif %} {% for post in posts %} {% if ( ( post.category == 'photo' ) ) %} {% set hentry = 'photo' %} {% elif ( ( post.category == 'article' ) or (post.category == 'journal' ) ) %} {% set hentry = 'article' %} {% elif ( ( post.category == 'note' ) or ( post.category == 'reply' ) ) %} {% set hentry = 'note' %} {% elif ( post.category == 'favorite' ) %} {% set hentry = 'favorite' %} {% else %} {% set hentry = 'status' %} {% endif %}
{% if post.reactions %} {% include 'block_reaction.html' %} {% elif post.title|length %}

{{ post.title }}

{% endif %}
{% if hentry == "article" %}
{{ post.sumhtml }}
{% else %}
{% if ( post.photo ) %} {% include 'block_photo.html' %} {% endif %} {% if ( post.exif ) %} {% include 'block_exif.html' %} {% endif %} {{ post.html }}
{% endif %}
{% endfor %}
{% if taxonomy.total > 1 %} {# based on: http://dev.dbl-a.com/symfony-2-0/symfony2-and-twig-pagination/ #} {% endif %} {% include 'block_footer.html' %}