{# Copyright (c) 2006-2007, PreFab Software Inc. #}
{% load blog_extras %}
{% load prefab_tags %}
{% if tag or query or taglist or search or userposts or year or month or day %}
{% if tag or query %}{% if not object_list %}No entries found {% endif %}{% if object_list %}Entries {% endif %}{% endif %}
{% if tag %}tagged as '{{ tag }}'
{% else %}{% if query %}containing '{% for term in query %}{{ term }}{% if not forloop.last %}, {% endif %}{% endfor %}'
{% else %}{% if year %}{{ year }} Archive
{% else %}{% if month %}{{ month|date:"F Y" }} Archive
{% else %}{% if day %}{{ day|date:"F Y" }}
{% else %}{% if taglist %}Tag Archive
{% else %}{% if search %}{{ search }}
{% else %}{% if userposts and not object_list %}No entries found for user {{ postedby|title }}
{% else %}{% if userposts and object_list %}Entries written by {{ postedby|title }}
{% endif %}{% endif %}{% endif %}{% endif %}{% endif %}{% endif %}{% endif %}{% endif %}{% endif %}
{% else %}
{% if object and not day and not month and not year and not query and not tag and not taglist and not search and not userposts %}