{% extends "layout.html" %} {% from "ContentMacros.html" import render_post_item, render_big_tag %} {% block content %}

{{Title}}

{% if Text %}

{{Text}}

{% endif %}

{% if required_tags %} {% if required_tags|length > 0 %} {% for t in required_tags %} {{ render_big_tag(t, True, "posts") }} {% endfor %} {% endif %} {% endif %} {% if optional_tags %} {% if optional_tags|length > 0 %} {% for t in optional_tags %} {{ render_big_tag(t, False, "posts") }} {% endfor %} {% endif %} {% endif %}

{{ResultsStr}}

{% if posts.items|length > 3 %}

{% if posts.has_prev %}<< Newer collections{% else %}<< Newer collections{% endif %} | {% if posts.has_next %}Older collections >>{% else %}Older collections >>{% endif %}
{% endif %}
{% if posts.items %} {% if posts.items|length > 0 %} {% for p in posts.items %} {{ render_post_item(p) }} {% endfor %} {% endif %} {% endif %}
{% if posts.items|length > 1 %}
{% if posts.has_prev %}<< Newer collections{% else %}<< Newer collections{% endif %} | {% if posts.has_next %}Older collections >>{% else %}Older collections >>{% endif %}
{% endif %} {% endblock %}