$if null recentMedia
<p>This gallery is still empty.
$else
<ul>
$forall (Entity mediumId medium) <- recentMedia
<li>
<a href=@{MediumR mediumId}>
<figure class="thumbnail">
<img src=#{mediumPath medium}>
<figcaption>#{mediumTitle medium}