summaryrefslogtreecommitdiff
path: root/app/links/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/links/templates')
-rw-r--r--app/links/templates/links/link_list.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/links/templates/links/link_list.html b/app/links/templates/links/link_list.html
index 8f80a28..35992fc 100644
--- a/app/links/templates/links/link_list.html
+++ b/app/links/templates/links/link_list.html
@@ -17,15 +17,15 @@
</style>
{% endblock %}
{%block bodyid%}class="links" id="links-archive"{%endblock%}
-
{% block breadcrumbs %}{% if breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{%endif%}{% endblock %}
{% block primary %}<main class="archive-wrapper">
+ {{object_list}}
{% autopaginate object_list 100 %}{% for object in object_list %}
<ul class="archive-list">
<li class="h-entry hentry archive-list-card archive-list-card-sm" itemscope itemType="http://schema.org/Article">
<span class="date dt-published card-smcaps">{{object.pub_date|date:"F Y"}}</span>
<h2 class="card-hed"><a href="{{object.url}}">{{object.title|safe|smartypants|widont}}</a><small class="edit"><a target="_blank" href="/admin/links/link/{{object.pk}}/change/">edit</a></small></h2>
- <p class="p-summary card-lede">{% for object in object.tags.all %}<a class="tags" href="{% url 'links:list-tag' object.name %}">{{object}}</a>{%endfor%}</p>
+ <p class="p-summary card-lede">{% for object in object.tags.all %}<a class="tags" href="{% url 'links:list-tag' object.slug %}">{{object}}</a>{%endfor%}</p>
</li>{%endfor%}
</ul>
</main>
@@ -34,7 +34,7 @@
</nav>
<div class="tags">
<ul class="tag-list">{% for object in tags %}
- <li><a href="/links/tag/{{object.slug}}">{{object.name}}</a></li>{%endfor%}
+ <li><a href="{% url 'links:list-tag' object.slug %}">{{object.name}}</a></li>{%endfor%}
</ul>
</div>
{% endblock %}