summaryrefslogtreecommitdiff
path: root/design/templates/archives/resume-pubs.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/archives/resume-pubs.html')
-rw-r--r--design/templates/archives/resume-pubs.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/design/templates/archives/resume-pubs.html b/design/templates/archives/resume-pubs.html
index b2d071f..1176d12 100644
--- a/design/templates/archives/resume-pubs.html
+++ b/design/templates/archives/resume-pubs.html
@@ -18,16 +18,16 @@
<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 %}{%if forloop.counter < 15 %}
- <li>
+ <ul class="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 %}
+ <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>
- </li>{% endfor %}
+ </li>{%endif%}{% endfor %}
</ul>
<a href="{% url "resume:live_publisher_redirect" pub.grouper|slugify %}">View all articles published by {{pub.grouper}}</a>
- </li>{% endif %}{% endfor %}
+ </li>{% endfor %}
</ul>
</main>
{% endblock %}