summaryrefslogtreecommitdiff
path: root/app/builder
diff options
context:
space:
mode:
Diffstat (limited to 'app/builder')
-rw-r--r--app/builder/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/builder/base.py b/app/builder/base.py
index b18e8be..a706261 100644
--- a/app/builder/base.py
+++ b/app/builder/base.py
@@ -140,7 +140,7 @@ class BuildWriting(Build):
def build_homepage(self):
obj = get_model('blog', 'homepagecurrator').objects.get(pk=1)
- recent = get_model('blog', 'entry').objects.filter(status__exact=1)[:3]
+ recent = get_model('blog', 'entry').objects.filter(status__exact=1)[:4]
template = obj.template_name
c = Context({'homepage': obj, 'recent': recent, 'MEDIA_URL': settings.BAKED_MEDIA_URL, 'IMAGES_URL': settings.BAKED_IMAGES_URL})
t = render_to_string(template, c).encode('utf-8')