summaryrefslogtreecommitdiff
path: root/templates/includes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/includes')
-rw-r--r--templates/includes/recent_entries.html6
-rw-r--r--templates/includes/recent_entries_template.html19
2 files changed, 12 insertions, 13 deletions
diff --git a/templates/includes/recent_entries.html b/templates/includes/recent_entries.html
index fd9c7ef..48c0b21 100644
--- a/templates/includes/recent_entries.html
+++ b/templates/includes/recent_entries.html
@@ -1,6 +1,6 @@
<article class="col1">
<h1><a href="/2010/jul/28/dinosaur-national-monument-part-one-echo-park/" title="Dinosaur National Monument, Part One: Echo Park">Dinosaur National Monument, Part One: Echo&nbsp;Park</a></h1>
- <p>
+ <p class="dateline">
<span class="location">Dinosaur National Monument, <a href="/writing/united-states/1/" title="travel writing from the United States">Colorado</a></span> &nbsp;
<time datetime="2010-07-28T16:00:00">07/28/10</time>
@@ -10,7 +10,7 @@
<span class="button"><a class="permalink" href="/2010/jul/28/dinosaur-national-monument-part-one-echo-park/" title="Dinosaur National Monument, Part One: Echo Park">More&nbsp;&raquo;</a></span>
</article><article class="col2">
<h1><a href="/2010/jul/25/endless-crowds-yellowstone/" title="The Endless Crowds of Yellowstone">The Endless Crowds of&nbsp;Yellowstone</a></h1>
- <p>
+ <p class="dateline">
<span class="location">Yellowstone National Park, <a href="/writing/united-states/1/" title="travel writing from the United States">Wyoming</a></span> &nbsp;
<time datetime="2010-07-25T13:00:00">07/25/10</time>
@@ -20,7 +20,7 @@
<span class="button"><a class="permalink" href="/2010/jul/25/endless-crowds-yellowstone/" title="The Endless Crowds of Yellowstone">More&nbsp;&raquo;</a></span>
</article><article class="col1">
<h1><a href="/2010/jul/22/backpacking-grand-tetons/" title="Backpacking in the Grand Tetons">Backpacking in the Grand&nbsp;Tetons</a></h1>
- <p>
+ <p class="dateline">
<span class="location">Grand Teton National Park, <a href="/writing/united-states/1/" title="travel writing from the United States">Wyoming</a></span> &nbsp;
<time datetime="2010-07-22T16:00:00">07/22/10</time>
diff --git a/templates/includes/recent_entries_template.html b/templates/includes/recent_entries_template.html
index 97c05f9..a743ecf 100644
--- a/templates/includes/recent_entries_template.html
+++ b/templates/includes/recent_entries_template.html
@@ -1,11 +1,10 @@
{% load typogrify %}{% for object in object_list %}<article class="{% cycle 'col1' 'col2' %}">
- <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>
- {%if object.thumbnail%}<img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}" class="post-image" />{%endif%}
- </p>
- <p class="intro hyphenate">{{object.dek|safe}}</p>
- <span class="button"><a class="permalink" href="{{object.get_absolute_url}}" title="{{object.title}}">More&nbsp;&raquo;</a></span>
- </article>{% endfor %}
+ <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">{% 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>
+ {%if object.thumbnail%}<img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}" class="post-image" />{%endif%}
+ </p>
+ <p class="hyphenate">{{object.dek|safe}}</p>
+ <span class="button"><a class="permalink" href="{{object.get_absolute_url}}" title="{{object.title}}">More&nbsp;&raquo;</a></span>
+ </article>{% endfor %}