summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2014-11-02 17:20:01 +0000
committerluxagraf <sng@luxagraf.net>2014-11-02 17:20:01 +0000
commitb1d5567765d030626aaf2b96126695b692182ae5 (patch)
treeb36f1b5afde280acff682ccff5690279318369e7 /design/templates
parenta12365dae4798471eb59758fe870b34491123f3a (diff)
fixed somebugs and made the homepage hand curated with a most popular section
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/archives/homepage.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html
index 1cd7347..c423c4c 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 banner %}{% if forloop.counter == 1 %}
+{% 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' %}">
<div class="post--image">
<a href="{{object.get_absolute_url}}" title="{{object.title}}">
@@ -40,7 +40,7 @@
</div>
<div class="homepage--section">
<section class="archive homepage--archives">
- <h1 class="homepage--arc-header">Archives</h1>
+ <h1 class="homepage--arc-header">Most Popular</h1>
{% for object in object_list %}{%if forloop.counter > 1 %}
<article class="h-entry hentry">
<div class="post--image">