only show last 30 media in home
This commit is contained in:
parent
4799e992ac
commit
0eb71f13a3
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue