eidolon/templates/home.hamlet

17 lines
492 B
Text
Raw Normal View History

$doctype 5
2016-08-31 19:37:20 +00:00
<div .subheader .item>
2016-08-30 12:22:00 +00:00
<h1>Eidolon
<p>
A simple gallery System in Haskell and Yesod
2016-08-31 19:37:20 +00:00
$forall (Entity mediumId medium) <- recentMedia
<div 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}
$if nextMedia
<div .item .subheader .pagin>
<p>
<a href=@{PageR 1}>
older