diff options
author | luxagraf <sng@luxagraf.net> | 2017-12-20 10:13:33 -0800 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2017-12-20 10:13:33 -0800 |
commit | 46673fb999a2e3520f505ea41e1bde1065bba542 (patch) | |
tree | fc79baf271b485131db0dc100b1d83d01d77fac9 /design | |
parent | cc1c0205daf9f3e7003f70044d3fbaeda6e0cd53 (diff) |
added tag list to top of links page
Diffstat (limited to 'design')
-rw-r--r-- | design/templates/archives/links.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/design/templates/archives/links.html b/design/templates/archives/links.html index 646385c..9e1336f 100644 --- a/design/templates/archives/links.html +++ b/design/templates/archives/links.html @@ -10,7 +10,13 @@ <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> → </li> {% if tag %}<li><a href="/links/" title="all links" itemprop="url"><span itemprop="title">Links</span></a> → </li><li>{{tag}}</li>{%else%}<li>Links</li>{% endif%} </ul> - <main role="main">{% autopaginate object_list 100 %} {% for object in object_list %} + <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}}">→</a></h3> |