summaryrefslogtreecommitdiff
path: root/templates/archives/links.html
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
committerlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
commitd9f51299809bfb6b3ac589b7c42016d0ef240299 (patch)
treeaa5f945e82fdbf1b66aca82fe5122f6ff5a12eb9 /templates/archives/links.html
parentdde9914dbbc6cda18ba59024065727c8dc6bcdf4 (diff)
moved templates to top level directory
Diffstat (limited to 'templates/archives/links.html')
-rw-r--r--templates/archives/links.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/archives/links.html b/templates/archives/links.html
new file mode 100644
index 0000000..9e1336f
--- /dev/null
+++ b/templates/archives/links.html
@@ -0,0 +1,29 @@
+{% extends 'base.html' %}
+{% load typogrify_tags %}
+{% load pagination_tags %}
+{% block pagetitle %} Links | luxagraf {% endblock %}
+{% block metadescription %} {% endblock %}
+{%block bodyid%}class="links" id="links-archive"{%endblock%}
+
+{% block primary %}
+ <ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
+ <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
+ {% if tag %}<li><a href="/links/" title="all links" itemprop="url"><span itemprop="title">Links</span></a> &rarr; </li><li>{{tag}}</li>{%else%}<li>Links</li>{% endif%}
+ </ul>
+ <main role="main">
+ <div class="tags">
+ <ul class="tag-list">{% for object in tags %}
+ <li><a href="/links/tag/{{object.slug}}">{{object.name}}</a></li>{%endfor%}
+ </ul>
+ </div>
+ {% autopaginate object_list 100 %}{% for object in object_list %}
+ <article>
+ <h3 class="link-title"><a href="{{object.get_absolute_url}}">{{object.title|smartypants|safe}}</a> <span><a href="{{object.url}}">&rarr;</a></h3>
+
+ </article>
+ {% endfor %}
+ </main>
+ <nav class="pagination">
+ {% paginate %}
+ </nav>
+{% endblock %}