summaryrefslogtreecommitdiff
path: root/design/templates/archives/homepage.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/archives/homepage.html')
-rw-r--r--design/templates/archives/homepage.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html
index c423c4c..12968aa 100644
--- a/design/templates/archives/homepage.html
+++ b/design/templates/archives/homepage.html
@@ -3,8 +3,8 @@
{%block htmlclass%}class="black"{%endblock%}
{%block bodyid%}id="home" class="has-hero"{%endblock%}
-{% block primary %}<section class="banner">{% for object in object_list %}{% if forloop.counter == 1 %}
- <article class="h-entry hentry {% cycle 'odd' 'even' %} {% cycle 'first' 'second' 'third' %}">
+{% block primary %}<section class="banner">{% with object=homepage.banner %}
+ <article class="h-entry hentry">
<div class="post--image">
<a href="{{object.get_absolute_url}}" title="{{object.title}}">
<picture>
@@ -28,7 +28,7 @@
</p>
<a href="{{object.get_absolute_url}}" class="u-url btn" title="{%if object.title_keywords%}{{object.title_keywords}}{%else%}{{object.title}}{%endif%}">Read</a>
</div>
- </article> {% endif %} {% endfor %}
+ </article>{% endwith %}
</section>
{%comment%}<section id="currently">
<div class="project-tease"><a href="/projects/5x5/"><h4 id="proj">5<span>x</span>5</h4> Interviews From The Road</a><p>Lorem sit amet, consectetur adipiscing elit. Duis cursus sodales eros <cite>&ndash; William Brandon III</cite></p></div>
@@ -36,12 +36,12 @@
<div class="homepage--about homepage--section">
<h3 class="homepage--arc-header">About Luxagraf</h3>
<p>I like to think of luxagraf as the notebook you might have found, something I might have accidentally dropped between the cushions of a jostling, camel-powered taxi winding its way through the narrow, bumpy, dusty streets of Tangier circa 1910.</p>
- <p>It could just be a website though. Except that I don&#8217;t do lists. And I&#8217;m not trying to make&nbsp;money.</p><p>Luxagraf is a collection of field notes, a bare recording of some of my time on earth. Enjoy.</p>
+ <p>It could just be a website though. Except that I don&#8217;t do lists. And I&#8217;m not trying to make&nbsp;money.</p><p>Luxagraf is a collection of field notes, a record of some of my time on earth. Enjoy.</p>
</div>
<div class="homepage--section">
<section class="archive homepage--archives">
<h1 class="homepage--arc-header">Most Popular</h1>
- {% for object in object_list %}{%if forloop.counter > 1 %}
+ {% for object in homepage.entry_list.all %}
<article class="h-entry hentry">
<div class="post--image">
<a href="{{object.get_absolute_url}}" title="{{object.title}}"><img src="{{object.get_image_wide_url}}" alt="{{ object.title }}" class="u-photo post-image" /></a>
@@ -54,7 +54,7 @@
<data itemprop="latitude" class="p-latitude" value="{{object.latitude}}"></data>
<data itemprop="longitude" class="p-longitude" value="{{object.longitude}}"></data>
</p>
- </article> {% endif %}{% endfor %}
+ </article> {% endfor %}
<p><a href="/" class="homepage--next">Read More</a></p>
</section>
<section class="homepage--bright">