summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
Diffstat (limited to 'design')
-rw-r--r--design/templates/archives/people.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/design/templates/archives/people.html b/design/templates/archives/people.html
new file mode 100644
index 0000000..533199a
--- /dev/null
+++ b/design/templates/archives/people.html
@@ -0,0 +1,34 @@
+{% extends 'base.html' %}
+{% load typogrify_tags %}
+{% load pagination_tags %}
+{% block pagetitle %} People | luxagraf {% endblock %}
+{% block metadescription %} {% endblock %}
+{%block bodyid%}class="links" id="people-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="{% url "people:list"%}" title="all people" itemprop="url"><span itemprop="title">People</span></a> &rarr; </li><li>{{tag}}</li>{%else%}<li>People</li>{% endif%}
+ </ul>
+ <main role="main">
+ <div class="tags">
+ <ul class="tag-list">{% for object in tags %}
+ <li><a href="{% url "people:list-tag" object.slug %}">{{object.name}}</a></li>{%endfor%}
+ </ul>
+ </div>
+ {% autopaginate object_list 100 %}{% for object in object_list %}
+ <article>
+ <h4 class="link-title">
+ <a href="{%url "people:detail" object.slug %}">{{object|smartypants|safe}}</a>
+ </h4>
+ <ul>
+ <li>Email: <a href="mailto:{{object.email}}">{{object.email}}</a></li>
+ <li>Tel: <a href="tel:{{object.phone}}">{{object.phone}}</a></li>
+ </ul>
+ </article>
+ {% endfor %}
+ </main>
+ <nav class="pagination">
+ {% paginate %}
+ </nav>
+{% endblock %}