diff --git a/make-pages/Depend.hs b/make-pages/Depend.hs index 4713fbe..03f320b 100644 --- a/make-pages/Depend.hs +++ b/make-pages/Depend.hs @@ -128,4 +128,6 @@ thumbFile :: FilePath -> FilePath thumbFile = addSuffix "_small" pageFile :: FilePath -> FilePath -pageFile = addSuffix "_med" +pageFile f + | takeExtension f == ".gif" = f + | otherwise = addSuffix "_med" f