diff options
Diffstat (limited to 'templates/archives/writing.html')
-rw-r--r-- | templates/archives/writing.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/archives/writing.html b/templates/archives/writing.html index ce20dc6..f950b8b 100644 --- a/templates/archives/writing.html +++ b/templates/archives/writing.html @@ -18,18 +18,18 @@ </ul> </nav> </section> - <section id="writing-archive"> {% autopaginate object_list 10 %} {% for object in object_list %} + <section id="writing-archive" class="archive"> {% autopaginate object_list 10 %} {% for object in object_list %} <article> <h1><a href="{{object.get_absolute_url}}" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|smartypants|widont|safe}}</a></h1> + <div class="img"> + <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_url}}" alt="{{ object.title }}" class="post-image" /></a> + </div> <p class="dateline"> <span class="location" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/​Geo">{% if object.location.state.country.name == "United States" %}{{object.location.name|smartypants|safe}}, <a href="/writing/united-states/1/" title="travel writing from the United States">{{object.location.state.name}}</a>{%else%}{{object.location.name|smartypants|safe}}, <a href="/writing/{{object.location.state.country.slug}}/1/" title="travel writing from {{object.location.state.country.name}}">{{object.location.state.country.name}}</a>{%endif%} <meta itemprop="latitude" content="{{object.latitude}}" /> <meta itemprop="longitude" content="{{object.longitude}}" /></span> <time datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"m/d/y"}}</time> </p> - <div class="img"> - <a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_url}}" alt="{{ object.title }}" class="post-image" /></a> - </div> <p class="hyphenate">{{object.dek|safe}}</p> </article> {% endfor %} </section> |