only show last 30 media in home

This commit is contained in:
nek0 2014-09-21 19:42:44 +02:00
parent 4799e992ac
commit 0eb71f13a3

View file

@ -3,7 +3,7 @@ $if null recentMedia
$else
<p>Newest images:
<ul>
$forall (Entity mediumId medium) <- recentMedia
$forall (Entity mediumId medium) <- take 30 recentMedia
<li>
<a href=@{MediumR mediumId}>
<figure class="thumbnail">