2015-02-11 23:15:07 +00:00
|
|
|
$doctype 5
|
|
|
|
$if page == 1
|
2016-08-31 19:37:20 +00:00
|
|
|
<div .item .subheader>
|
2017-03-21 23:48:18 +00:00
|
|
|
<a .pagin href=@{HomeR}>
|
|
|
|
newer
|
2015-02-11 23:15:07 +00:00
|
|
|
$else
|
2016-08-31 19:37:20 +00:00
|
|
|
<div .item .subheader>
|
2017-03-21 23:48:18 +00:00
|
|
|
<a href=@{PageR (page - 1)}>
|
|
|
|
newer
|
2015-02-11 23:15:07 +00:00
|
|
|
$forall (Entity mediumId medium) <- pageMedia
|
2016-08-31 19:37:20 +00:00
|
|
|
<div .item>
|
2015-02-11 23:15:07 +00:00
|
|
|
<a href=@{MediumR mediumId}>
|
|
|
|
<figure>
|
2015-07-19 02:55:20 +00:00
|
|
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
2015-02-11 23:15:07 +00:00
|
|
|
<figcaption>#{mediumTitle medium}
|
|
|
|
$if nextMedia
|
2016-08-31 19:37:20 +00:00
|
|
|
<div .item .subheader>
|
2017-03-21 23:48:18 +00:00
|
|
|
<a .pagin style="inline-block" href=@{PageR (page + 1)}>
|
|
|
|
older
|