diff options
Diffstat (limited to 'templates/archives/homepage.html')
-rw-r--r-- | templates/archives/homepage.html | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/templates/archives/homepage.html b/templates/archives/homepage.html index 2d72d0b..c6ad42d 100644 --- a/templates/archives/homepage.html +++ b/templates/archives/homepage.html @@ -16,23 +16,7 @@ {% block extrabody %} <div class="archives"> <h4 id="archive-header">Recently</h4> - <ul> - {% for object in object_list %} - <li> - <dl> - <dt> - <span class="post-image"><img src="{{object.get_thumbnail_url}}" alt="{{ object.title }}"/></span> - <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 it »</a></span> - </dd> - </dl> - </li> - {% endfor %} - </ul> + {% include 'includes/recent_entries.html' %} </div> {% endblock %} @@ -43,7 +27,7 @@ <div id="nav" class="first"><a href="{{featured.get_previous_published.get_absolute_url}}" title="">«Previous</a></div> <div class="blok"> <h4>Topography</h4> - {% chunk "regions_sidebar" %} + {% include 'includes/regions_sidebar.html' %} </div> <div class="blok"> <h4>About Luxagraf</h4> |