eidolon/templates/tagMedia.hamlet

14 lines
377 B
Text
Raw Normal View History

2014-09-14 03:03:13 +00:00
$newline always
2016-09-02 13:55:50 +00:00
<div .subheader .item>
<h1>Tag #{tag}
$if null media
<p>
2015-01-14 19:16:45 +00:00
There are no media tagged with #{tag}
2014-09-14 03:03:13 +00:00
2017-10-21 19:18:59 +00:00
$forall (Entity mId m) <- media
2016-09-02 13:55:50 +00:00
<div .item>
2015-01-14 19:16:45 +00:00
<a href=@{MediumR mId}>
<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}