summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/archives/resume-pubs-by-pub.html24
-rw-r--r--design/templates/archives/resume-pubs.html5
2 files changed, 27 insertions, 2 deletions
diff --git a/design/templates/archives/resume-pubs-by-pub.html b/design/templates/archives/resume-pubs-by-pub.html
new file mode 100644
index 0000000..2313b48
--- /dev/null
+++ b/design/templates/archives/resume-pubs-by-pub.html
@@ -0,0 +1,24 @@
+{% extends 'base.html' %}
+{% load typogrify_tags %}
+{% load html5_datetime %}
+{% load pagination_tags %}
+{% block pagetitle %} Publications | Resume{% endblock %}
+{% block metadescription %} {% endblock %}
+{%block bodyid%}class="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><a href="/resume/pubs/">Publications</a> &rarr; </li>
+ <li>{{publisher}}</li>
+ </ul>
+ <main role="main">
+ <h1 class="entry-title publisher">Stories published in {{publisher}}</h1>
+ <ul class="publications-list">{% for object in object_list %}
+ <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>
+ </main>
+{% endblock %}
diff --git a/design/templates/archives/resume-pubs.html b/design/templates/archives/resume-pubs.html
index 16270b3..b0d914f 100644
--- a/design/templates/archives/resume-pubs.html
+++ b/design/templates/archives/resume-pubs.html
@@ -18,7 +18,7 @@
<nav class="toc"><ul>{% for publisher in pub_list %}
<li><a href="#{{publisher.name|slugify}}">{{publisher.name}}</a></li>{%endfor%}
</ul></nav>
- <ul class="publications-list">{% regroup object_list|dictsort:"publisher_id" by publisher.name as pub_list %}{% for pub in pub_list %}
+ <ul class="publications-list">{% regroup object_list|dictsort:"publisher_id" by publisher.name as pub_list %}{% for pub in pub_list %}{%if forloop.counter < 15 %}
<li>
<h2 id="{{pub.grouper|slugify}}">{{ pub.grouper }}</h2>
<ul>{% for object in pub.list %}
@@ -26,7 +26,8 @@
<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>
- </li>{% endfor %}
+ <a href="{% url "resume:live_publisher_redirect" pub.grouper|slugify %}">View all articles published by {{pub.grouper}}</a>
+ </li>{% endif %}{% endfor %}
</ul>
</main>
{% endblock %}