diff --git a/Handler/Medium.hs b/Handler/Medium.hs index e0779c2..65deee1 100755 --- a/Handler/Medium.hs +++ b/Handler/Medium.hs @@ -59,6 +59,7 @@ 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/config/favicon.ico b/config/favicon.ico old mode 100644 new mode 100755 diff --git a/templates/medium.hamlet b/templates/medium.hamlet index 132191c..a012a34 100755 --- a/templates/medium.hamlet +++ b/templates/medium.hamlet @@ -8,8 +8,9 @@