From: Jérémy Fabre Date: Tue, 14 Feb 2017 12:58:38 +0000 (+0100) Subject: Add 6 posts to Instagram feed. Add a link to Instagram #ircam tag. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=66206bcdc3c0545adda8594d0f85edb5524564b8;p=mezzo.git Add 6 posts to Instagram feed. Add a link to Instagram #ircam tag. --- diff --git a/app/templates/base.html b/app/templates/base.html index 61139b58..854ca913 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -72,8 +72,9 @@
- {% trans "Instagram feed" %} + {% trans "Instagram feed" %} #ircam
+
{% include "includes/instagram.html" %}
diff --git a/app/templates/includes/instagram.html b/app/templates/includes/instagram.html index c734b42c..859eb96c 100644 --- a/app/templates/includes/instagram.html +++ b/app/templates/includes/instagram.html @@ -3,7 +3,7 @@ {% instagram_user_recent_media ircam_paris %}
- {% for media in recent_media|slice:"3" %} + {% for media in recent_media|slice:"6" %} {{ media.caption }}