summaryrefslogtreecommitdiff
path: root/templates/archives/writing.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2010-11-30 21:08:10 -0500
committerluxagraf <sng@luxagraf.net>2010-11-30 21:08:10 -0500
commitf75fc492edaecaa487c20708520865fbc56207fd (patch)
treede971097b6b160f8ff1b993be163359df89a1cc3 /templates/archives/writing.html
parent8717b6aa1bd23fe0aadeedcdde548cad1ba60f99 (diff)
added styles for writing, photo and map archive pages
Diffstat (limited to 'templates/archives/writing.html')
-rw-r--r--templates/archives/writing.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/archives/writing.html b/templates/archives/writing.html
index 877ff58..ce20dc6 100644
--- a/templates/archives/writing.html
+++ b/templates/archives/writing.html
@@ -20,17 +20,17 @@
</section>
<section id="writing-archive"> {% autopaginate object_list 10 %} {% for object in object_list %}
<article>
- <div>
- <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>
- <p>
- <span class="location">{% 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%}</span> &nbsp;
- <time datetime="{{object.pub_date|date:'c'}}">{{object.pub_date|date:"m/d/y"}}</time>
- </p>
- <p class="hyphenate">{{object.dek|safe}}</p>
- </div>
+ <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>
+ <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> &nbsp;
+ <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>
<nav id="pagination">{% paginate %}