summaryrefslogtreecommitdiff
path: root/design/templates/archives/people.html
blob: 533199aa7e4782eadcefc591abc496804fe69c87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 %}