2015-02-11 23:15:07 +00:00
|
|
|
$doctype 5
|
|
|
|
$if page == 1
|
|
|
|
<div id="header" class="item" data-width="400">
|
|
|
|
<div class="inner">
|
|
|
|
<p>
|
|
|
|
<a href=@{HomeR}>
|
|
|
|
newer
|
|
|
|
$else
|
|
|
|
<div id="header" class="item" data-width="400">
|
|
|
|
<div class="inner">
|
|
|
|
<p>
|
|
|
|
<a href=@{PageR (page - 1)}>
|
|
|
|
newer
|
|
|
|
$forall (Entity mediumId medium) <- pageMedia
|
|
|
|
<article class="item" data-width=#{mediumThumbWidth medium}>
|
|
|
|
<a href=@{MediumR mediumId}>
|
|
|
|
<figure>
|
2015-02-12 04:25:15 +00:00
|
|
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []}>
|
2015-02-11 23:15:07 +00:00
|
|
|
<figcaption>#{mediumTitle medium}
|
|
|
|
$if nextMedia
|
|
|
|
<div id="header" class="item" data-width="400">
|
|
|
|
<div class="inner">
|
|
|
|
<p>
|
|
|
|
<a href=@{PageR (page + 1)}>
|
|
|
|
older
|