summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2014-11-02 10:17:19 -0500
committerluxagraf <sng@luxagraf.net>2014-11-02 10:17:19 -0500
commita12365dae4798471eb59758fe870b34491123f3a (patch)
tree25acc6fecb80126e48e79f85838b700ff3186f3b /design/templates
parent27737a16074f8dd9abb34a851b95b4bc56f28fcf (diff)
rewrote blog to make homepage banner an optional thing for each post.
defaults to false
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/archives/homepage.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html
index cbdfdcc..1cd7347 100644
--- a/design/templates/archives/homepage.html
+++ b/design/templates/archives/homepage.html
@@ -3,7 +3,7 @@
{%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 %}
+{% block primary %}<section class="banner">{% for object in banner %}{% if forloop.counter == 1 %}
<article class="h-entry hentry {% cycle 'odd' 'even' %} {% cycle 'first' 'second' 'third' %}">
<div class="post--image">
<a href="{{object.get_absolute_url}}" title="{{object.title}}">