eidolon/templates/home.hamlet
2014-09-21 19:42:44 +02:00

11 lines
322 B
Text

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