From: Jérémy Fabre Date: Thu, 20 Oct 2016 11:56:53 +0000 (+0200) Subject: Show only 8 briefs in the home shutter X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=539fd6511e4b7d67cf63a20d3002f806d729d8c0;p=mezzo.git Show only 8 briefs in the home shutter --- diff --git a/app/templates/magazine/brief/brief_list.html b/app/templates/magazine/brief/brief_list.html index 0f9f50c6..0896ee19 100644 --- a/app/templates/magazine/brief/brief_list.html +++ b/app/templates/magazine/brief/brief_list.html @@ -1,4 +1,4 @@ -{% for brief in briefs %} +{% for brief in briefs|slice:":8" %}

{{ brief.title }}