{% extends "base.htm" %}
{% block title %}List of all pastes{% endblock %}
+{% block meta %}
+ <link rel="alternate" type="application/atom+xml" title="New pastes" href="feed/new" />
+ <link rel="alternate" type="application/atom+xml" title="Updated pastes" href="feed/updated" />
+{% endblock %}
+
{% block content %}
+<div class="content-padding-fix"></div>
<ul class="nav nav-pills nav-stacked">
{% for repo in repos %}
{% include 'repo-list.htm' %}
{% endfor %}
</ul>
-<ul class="pager">
- {% if links.prev %}
- <li class="previous">
- <a href="{{links.prev}}">← prev</a>
- </li>
- {% else %}
- <li class="previous disabled">
- <a href="#">← prev</a>
- </li>
- {% endif %}
- {% if links.next %}
- <li class="next">
- <a href="{{links.next}}">next →</a>
- </li>
- {% else %}
- <li class="next disabled">
- <a href="#">next →</a>
- </li>
+ {% include 'pager.htm' %}
+
+{% endblock %}
+
+{% block sidebar %}
+ {% if recents.results %}
+ <h4>Recently updated</h4>
+ <ul class="unstyled">
+ {% for repo in recents.repos %}
+ {% include 'repo-sidebar-list.htm' %}
+ {% endfor %}
+ </ul>
{% endif %}
-</ul>
{% endblock %}