From 7a4004c03e3d04f1ea62940d1659002b92014fab Mon Sep 17 00:00:00 2001
From: ncastejon <castejon.nicolas@gmail.com>
Date: Tue, 15 May 2018 16:30:31 +0200
Subject: [PATCH] Limit to 3 the number of articles on home page

---
 .../wordpress-posts-list/wordpress-posts-list.component.html    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webapp/src/app/editorialisation/components/wordpress-posts-list/wordpress-posts-list.component.html b/webapp/src/app/editorialisation/components/wordpress-posts-list/wordpress-posts-list.component.html
index a4aab822..baeba567 100644
--- a/webapp/src/app/editorialisation/components/wordpress-posts-list/wordpress-posts-list.component.html
+++ b/webapp/src/app/editorialisation/components/wordpress-posts-list/wordpress-posts-list.component.html
@@ -1,6 +1,6 @@
 <div *ngIf="posts">
     <div class="row">
-        <div class="col-md-4" *ngFor="let post of posts" style="margin-top: 20px;">
+        <div class="col-md-4" *ngFor="let post of posts | slice:0:3" style="margin-top: 20px;">
                 <app-wordpress-posts-list-tile [post]='post'>
                     </app-wordpress-posts-list-tile>
         </div>
-- 
GitLab