diff options
author | luxagraf <sng@luxagraf.net> | 2012-10-21 22:59:12 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2012-10-21 22:59:12 -0400 |
commit | 83e49fa3c3ea9b9b3f74b7302df8825aaf4e3d18 (patch) | |
tree | c82ce28b70bf721d5c14079b6f1000f090fe3adf /design/templates/bin | |
parent | 6c20194f9ac2347c4618f690c0a6b53ce742bbf0 (diff) |
fixed homepage
Diffstat (limited to 'design/templates/bin')
-rw-r--r-- | design/templates/bin/recent_entries.html | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/design/templates/bin/recent_entries.html b/design/templates/bin/recent_entries.html index f86d6f2..9bf6b28 100644 --- a/design/templates/bin/recent_entries.html +++ b/design/templates/bin/recent_entries.html @@ -1,13 +1 @@ -{% 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> - <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 %} +{% load typogrify %} |