summaryrefslogtreecommitdiff
path: root/templates/archives/resume-pubs.html
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
committerlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
commitd9f51299809bfb6b3ac589b7c42016d0ef240299 (patch)
treeaa5f945e82fdbf1b66aca82fe5122f6ff5a12eb9 /templates/archives/resume-pubs.html
parentdde9914dbbc6cda18ba59024065727c8dc6bcdf4 (diff)
moved templates to top level directory
Diffstat (limited to 'templates/archives/resume-pubs.html')
-rw-r--r--templates/archives/resume-pubs.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/archives/resume-pubs.html b/templates/archives/resume-pubs.html
new file mode 100644
index 0000000..26b4936
--- /dev/null
+++ b/templates/archives/resume-pubs.html
@@ -0,0 +1,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="/work/">Work</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:list_by_publisher" pub.grouper|slugify %}">View all articles published by {{pub.grouper}}</a>
+ </li>{% endfor %}
+ </ul>
+ </main>
+{% endblock %}