{% endif %}
{% endblock %}
{% block top_navigation %}
{# don't display if the page is empty, because it looks weird #}
{# WARNING: if creating new page add test for it here #}
{% if entries or tag_pairs or sources %}
{% block navigation %}
{% if 'top_page' in page_links %}
{% if not page_links['prev_page'] %}
previous
{% else %}
previous
{% endif %}
·
top
·
{% if not page_links['next_page'] %}
next
{% else %}
next
{% endif %}
{% endif %}
all videos
·
all tags
·
all sources
··
random
{% endblock %}
{#- can't have any spaces here -#}
{% if page_links %}
{% if 'admin' in page_links %}
{% if page_links['admin'] %}
admin
{% else %}
admin
{% endif %}
·
{% endif %}
{% if page_links['gallery'] %}
gallery
·
{% endif %}
rss
{% endif %}