summaryrefslogtreecommitdiff
path: root/templates/archives/homepage.html
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2009-11-12 21:58:26 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2009-11-12 21:58:26 +0000
commitb0464d2bcb252c8d2cef9dfca9dd7b40ec498c55 (patch)
treef39715fefd2828fd794a25fcf5301ed1ffd14ce0 /templates/archives/homepage.html
parentc9022d38a303dcd756d34a2cbc4e3c49b22e0cf2 (diff)
speed optimizations
Diffstat (limited to 'templates/archives/homepage.html')
-rw-r--r--templates/archives/homepage.html20
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&nbsp;it&nbsp;&raquo;</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="">&laquo;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>