summaryrefslogtreecommitdiff
path: root/design/templates/archives/resume-pubs.html
blob: 332a812d946b1a4049de9620ec605b46c25877c6 (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
{% extends 'base.html' %}
{% load typogrify_tags %}
{% load html5_datetime %}
{% load pagination_tags %}
{% block pagetitle %} Publications | Resume{% endblock %}
{% block metadescription %} {% endblock %}
{%block bodyid%}class="archive resume" id="publications-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>
        <li><a href="/resume/">Resume</a> &rarr; </li>
        <li>Publications</li>
    </ul>
    <main>
        <h1 class="hide">Publications</h1>
        <h6>By Publication</h6>
        <nav class="toc"><ul>{% for publisher in pub_list %}
                <li><a href="#{{publisher.name|slugify}}">{{publisher.name}}</a></li>{%endfor%}
            </ul></nav>
            <ul class="archive publications-list">{% regroup object_list|dictsort:"publisher_id" by publisher.name as pub_list %}{% for pub in pub_list %}
                <li>
                <h2 id="{{pub.grouper|slugify}}">{{ pub.grouper }}</h2>
                <ul>{% for object in pub.list %}{% if forloop.counter < 8 %}
                    <li class="pub-title"><h3><a href="{{object.url}}">{{object.title|amp|smartypants|widont|safe}}</a></h3>
                        <time class="dt-published published dt-updated" datetime="{{object.pub_date|date:'c'}}" itemprop="datePublished">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time> (<a href="{{object.get_absolute_url}}">local verson</a>)
                    </li>{%endif%}{% endfor %}
                </ul>
                <a href="{% url "resume:live_publisher_redirect" pub.grouper|slugify %}">View all articles published by {{pub.grouper}}</a>
            </li>{% endfor %}
        </ul>
        </main>
{% endblock %}