diff options
author | luxagraf <sng@luxagraf.net> | 2018-03-07 10:31:15 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-03-07 10:31:15 -0600 |
commit | ce9c1a25a2872979b969c64f804529d200a8c0ad (patch) | |
tree | 809ba96e13ff51c45d8d9f46e6700b1fe4f82b09 /design | |
parent | 875e1a8c87ea0825653684068810987c78c94857 (diff) |
added a people app as per derek sivers' suggestion
Diffstat (limited to 'design')
-rw-r--r-- | design/templates/archives/people.html | 34 |
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> → </li> + {% if tag %}<li><a href="{% url "people:list"%}" title="all people" itemprop="url"><span itemprop="title">People</span></a> → </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 %} |