]> git.parisson.com Git - mezzo.git/commitdiff
Show only 8 briefs in the home shutter
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Thu, 20 Oct 2016 11:56:53 +0000 (13:56 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Thu, 20 Oct 2016 11:56:53 +0000 (13:56 +0200)
app/templates/magazine/brief/brief_list.html

index 0f9f50c6891e3d7307c5bbeb499ceaee21ca0b3e..0896ee19ac42aa7acfe1e73bfd85bfaaa3a54143 100644 (file)
@@ -1,4 +1,4 @@
-{% for brief in briefs %}
+{% for brief in briefs|slice:":8" %}
     <div class="col-xs-3">
         <div class="home__shutter-item">
             <h2>{{ brief.title }}</h2>