From 7e52a12226569c22f61342e0298ed819982e283c Mon Sep 17 00:00:00 2001 From: nek0 Date: Mon, 28 Sep 2015 01:23:08 +0200 Subject: [PATCH] better preview image integration --- Handler/Medium.hs | 1 - templates/medium.hamlet | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Handler/Medium.hs b/Handler/Medium.hs index 65deee1..e0779c2 100644 --- a/Handler/Medium.hs +++ b/Handler/Medium.hs @@ -59,7 +59,6 @@ getMediumR mediumId = do , CommentParent !=. Nothing ] [ Desc CommentTime ] let dataWidth = if mediumWidth medium >= 850 then 850 else mediumWidth medium - let tr = StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) [] let pr = StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumPreview medium) [] let ir = StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumPath medium) [] formLayout $ do diff --git a/templates/medium.hamlet b/templates/medium.hamlet index af57094..58b5c52 100644 --- a/templates/medium.hamlet +++ b/templates/medium.hamlet @@ -7,7 +7,7 @@