2015-01-11 07:06:48 +00:00
|
|
|
$doctype 5
|
2016-08-30 12:22:00 +00:00
|
|
|
<div id="header">
|
|
|
|
<h1>Eidolon
|
|
|
|
<p>
|
|
|
|
A simple gallery System in Haskell and Yesod
|
|
|
|
<div #reel>
|
|
|
|
$forall (Entity mediumId medium) <- recentMedia
|
|
|
|
<article class="item">
|
|
|
|
<a href=@{MediumR mediumId}>
|
|
|
|
<figure>
|
|
|
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
|
|
|
<figcaption>#{mediumTitle medium}
|
2015-02-11 23:15:07 +00:00
|
|
|
$if nextMedia
|
2016-08-30 12:22:00 +00:00
|
|
|
<div class="pagination">
|
|
|
|
<p>
|
|
|
|
<a href=@{PageR 1}>
|
|
|
|
older
|