eidolon/templates/home.hamlet
2017-03-22 00:48:18 +01:00

15 lines
473 B
Text
Executable file

$doctype 5
<div .subheader .item>
<h1>Eidolon
<p>
A simple gallery System in Haskell and Yesod
$forall (Entity mediumId medium) <- recentMedia
<div .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>
<a .pagin href=@{PageR 1}>
older