Skip to content

Commit

Permalink
Fix to show the latest feed image
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Buyanov committed Feb 13, 2016
1 parent d77fc59 commit a33c80f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/partials/instagram.html.twig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% for post in feed|slice(1, count) %}
{% for post in feed|slice(0, count) %}
<li><a href="{{ post.link }}" target="_blank"><img src="{{ post.image }}" alt=""></a></li>
{% endfor %}
{% endfor %}

0 comments on commit a33c80f

Please sign in to comment.