diff options
Diffstat (limited to 'design/templates/archives/resume-pubs.html')
-rw-r--r-- | design/templates/archives/resume-pubs.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/design/templates/archives/resume-pubs.html b/design/templates/archives/resume-pubs.html index 7569a8f..daed46f 100644 --- a/design/templates/archives/resume-pubs.html +++ b/design/templates/archives/resume-pubs.html @@ -14,11 +14,16 @@ </ul> <main role="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> {% regroup object_list by publisher.name as pub_list %}{% for pub in pub_list %} <ul class="publications-list"> - <li><h2>{{ pub.grouper }}</h2></li> + <li><h2 id="{{pub.grouper|slugify}}">{{ pub.grouper }}</h2></li> <ul>{% for object in pub.list %} - <li class=""><h3><a href="{{object.get_absolute_url}}">{{object.title|amp|smartypants|widont|safe}}</a></h3> + <li class="pub-title"><h3><a href="{{object.get_absolute_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> </li>{% endfor %} </ul>{% endfor %} </ul> |