eidolon/templates/home.hamlet

15 lines
407 B
Plaintext
Raw Normal View History

2014-08-12 12:42:25 +00:00
$if null recentMedia
<p>This gallery is still empty.
$else
2014-09-21 16:44:27 +00:00
<p>Newest images:
2014-09-14 03:06:43 +00:00
<ul>
2014-09-21 17:42:44 +00:00
$forall (Entity mediumId medium) <- take 30 recentMedia
2014-09-14 03:06:43 +00:00
<li>
<a href=@{MediumR mediumId}>
<figure class="thumbnail">
2014-10-01 22:58:36 +00:00
<img src=#{mediumThumb medium}>
2014-09-14 03:06:43 +00:00
<figcaption>#{mediumTitle medium}
2014-12-14 19:21:23 +00:00
get a feed from this:
<a href=@{RootFeedAtomR}>Atom
<a href=@{RootFeedRssR}>RSS