{% if SITE_NAME != 'WPD' and not sub %}
{% set hcolor = "primary" if holes else "secondary" %}
Holes
{% endif %}
{% set pcolor = "primary" if pins else "secondary" %}
Pins
{% if t != "hour" %}Hour{% endif %}
{% if t != "day" %}Day{% endif %}
{% if t != "week" %}Week{% endif %}
{% if t != "month" %}Month{% endif %}
{% if t != "year" %}Year{% endif %}
{% if t != "all" %}All{% endif %}
{% if sort != "hot" %}Hot{% endif %}
{% if sort != "bump" %}Bump{% endif %}
{% if sort != "top" %}Top{% endif %}
{% if sort != "bottom" %}Bottom{% endif %}
{% if sort != "new" %}New{% endif %}
{% if sort != "old" %}Old{% endif %}
{% if sort != "controversial" %}Controversial{% endif %}
{% if sort != "comments" %}Comments{% endif %}
{% endblock %}
{% block pagenav %}
{% if listing %}
{% endif %}
{% if request.path == '/' and v %}
{% endif %}
{% if request.path == '/' and not g.webview and time.time() > session.get('tooltip_last_dismissed',0)+86400*30 %}
{% endif %}
{% if request.path == '/' and v and FP %}
{% if not v.fp %}
{% endif %}
{% endif %}
{% endblock %}