diff options
author | luxagraf <sng@luxagraf.net> | 2015-12-07 22:12:41 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-12-07 22:12:41 -0500 |
commit | abbe348602df0d4c32a1bad0960107d7eadc59a7 (patch) | |
tree | 06d865a0bdb5591c54bf8cfd07a2f94da72f5ebe /design | |
parent | 5dc9b251a29c79fdd0dafc9ef79318e8f213cb3a (diff) |
finished up resume section
Diffstat (limited to 'design')
-rw-r--r-- | design/sass/_resume.scss | 5 | ||||
-rw-r--r-- | design/templates/archives/resume-pubs-by-pub.html | 24 | ||||
-rw-r--r-- | design/templates/archives/resume-pubs.html | 5 |
3 files changed, 31 insertions, 3 deletions
diff --git a/design/sass/_resume.scss b/design/sass/_resume.scss index 157e88f..b66ecbe 100644 --- a/design/sass/_resume.scss +++ b/design/sass/_resume.scss @@ -122,7 +122,10 @@ content: "\00a0 \00a0" } } - +.publisher { + margin-top: 1em; + margin-bottom: 1em; +} .pub-title { margin-bottom: 1.75em; a { 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> → </li> + <li><a href="/resume/">Resume</a> → </li> + <li><a href="/resume/pubs/">Publications</a> → </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 %} |