diff options
Diffstat (limited to 'design')
-rw-r--r-- | design/sass/_resume.scss | 11 | ||||
-rw-r--r-- | design/templates/archives/resume-pubs.html | 17 |
2 files changed, 16 insertions, 12 deletions
diff --git a/design/sass/_resume.scss b/design/sass/_resume.scss index 1bd9db2..157e88f 100644 --- a/design/sass/_resume.scss +++ b/design/sass/_resume.scss @@ -123,10 +123,13 @@ } } -.pub-title a { - color: $brown; - text-decoration: none; - font-weight: 400; +.pub-title { + margin-bottom: 1.75em; + a { + color: $brown; + text-decoration: none; + font-weight: 400; + } } .resume h6 { @include constrain_narrow; diff --git a/design/templates/archives/resume-pubs.html b/design/templates/archives/resume-pubs.html index daed46f..16270b3 100644 --- a/design/templates/archives/resume-pubs.html +++ b/design/templates/archives/resume-pubs.html @@ -18,14 +18,15 @@ <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 id="{{pub.grouper|slugify}}">{{ pub.grouper }}</h2></li> - <ul>{% for object in pub.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>{% endfor %} + <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 %} + <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> + </li>{% endfor %} </ul> </main> {% endblock %} |