summaryrefslogtreecommitdiff
path: root/design/templates/bin/recent_entries.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
committerluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
commitefb623af0bcb47d510501c282e1326b11343a29c (patch)
tree3a35fb19f5eba3b219c65277a5fb712cbe9604ac /design/templates/bin/recent_entries.html
parent0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff)
site reorg
Diffstat (limited to 'design/templates/bin/recent_entries.html')
-rw-r--r--design/templates/bin/recent_entries.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/design/templates/bin/recent_entries.html b/design/templates/bin/recent_entries.html
new file mode 100644
index 0000000..f86d6f2
--- /dev/null
+++ b/design/templates/bin/recent_entries.html
@@ -0,0 +1,13 @@
+{% load typogrify %}{% for object in object_list %}<article {%if forloop.last %}class="last"{%endif%}>
+ <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 bl">
+ <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'}}" pubdate>{{object.pub_date|date:"m/d/y"}}</time>
+ </p>
+ {%if object.thumbnail%}<a class="permalink" href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}" class="post-image" width="{{object.thumb_width}}" height="{{object.thumb_height}}" /></a>{%endif%}
+ <p class="hyphenate">{{object.dek|safe}}</p>
+ </article>
+ {% endfor %}