eidolon/templates/home.hamlet

18 lines
510 B
Text
Raw Normal View History

$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