2014-09-14 03:03:13 +00:00
|
|
|
$newline always
|
2015-01-14 19:16:45 +00:00
|
|
|
<div id="header" class="item" data-width="400">
|
|
|
|
<div class="inner">
|
|
|
|
<h1>Tag #{tag}
|
|
|
|
$if null media
|
|
|
|
There are no media tagged with #{tag}
|
2014-09-14 03:03:13 +00:00
|
|
|
|
2015-01-14 19:16:45 +00:00
|
|
|
$forall Just (Entity mId m) <- media
|
|
|
|
<article class="item" data-width=#{mediumThumbWidth m}>
|
|
|
|
<a href=@{MediumR mId}>
|
2015-10-19 14:31:10 +00:00
|
|
|
<figure>
|
2015-07-19 03:00:55 +00:00
|
|
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []} title=#{mediumTitle m}>
|
2015-01-14 19:16:45 +00:00
|
|
|
<figcapion>#{mediumTitle m}
|