summaryrefslogtreecommitdiff
path: root/templates/includes/recent_entries_template.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/includes/recent_entries_template.html')
-rw-r--r--templates/includes/recent_entries_template.html23
1 files changed, 7 insertions, 16 deletions
diff --git a/templates/includes/recent_entries_template.html b/templates/includes/recent_entries_template.html
index 92d50dc..247d915 100644
--- a/templates/includes/recent_entries_template.html
+++ b/templates/includes/recent_entries_template.html
@@ -1,18 +1,9 @@
{% load typogrify %}
-<ul>
- {% for object in object_list %}
- <li>
- <dl>
- <dt>
- <span class="post-image"><img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}"/></span>
+ <ul>{% for object in object_list %}
+ <li>
<h3><a href="{{object.get_absolute_url}}" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">{{object.title|smartypants|widont|safe}}</a></h3>
- </dt>
- <dd>
- <span class="date">{{object.pub_date|date:"F j, Y"}} {% ifequal object.location.state.country.name "United States" %}({{object.location.name|smartypants|safe}}, {{object.location.state.name}}){%else%}({{object.location.name|smartypants|safe}}, {{object.location.state.country.name}}){%endifequal%}</span>
- {{object.dek|safe}}
- <span class="more"><a href="{{object.get_absolute_url}}" title="{{object.title}}">Read&nbsp;it&nbsp;&raquo;</a></span>
- </dd>
- </dl>
- </li>
- {% endfor %}
-</ul> \ No newline at end of file
+ {%if object.thumbnail%}<img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}" class="post-image" />{%endif%}
+ <time datetime="{{object.pub_date}}">{{object.pub_date|date:"F j, Y"}}</time> &bull; <span class="location">{% ifequal 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>{%endifequal%}</span>
+ <p class="intro">{{object.dek|safe}} <a class="permalink" href="{{object.get_absolute_url}}" title="{{object.title}}">Read&nbsp;it&nbsp;&raquo;</a></p>
+ </li>{% endfor %}
+ </ul> \ No newline at end of file