{% extends "__builtins/base.html" %}
{% block main %}
<div class="index">
<div class="links-block">
<p class="list-head">
<span class="view-name">{% if view == "backlinks" %}most backlinked{% else %}recently updated{% endif %}</span>
<span class="stats">{% if active_type %}{{ active_type.scraps_count }} of {{ scrap_count }} scraps{% else %}{{ scrap_count }} scraps · {{ nav_tags | length }} tags{% endif %}</span>
</p>{% if filter_types %}
{% if active_type %}{{ <type_filter types={filter_types} base_url={base_url} view_path={view_path} active_name={active_type.name} /> }}{% else %}{{ <type_filter types={filter_types} base_url={base_url} view_path={view_path} /> }}{% endif %}{% endif %}
{{ <scrap_rows scraps={scraps} base_url={base_url} timezone={timezone} /> }}
</div>
<div class="paging-arrows">
{% if prev %}
<a class="prev" href="{{ prev }}">‹ prev</a>
{% endif %}
{% if next %}
<a class="next" href="{{ next }}">next ›</a>
{% endif %}
</div>
</div>
{% endblock %}