diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-12-26 12:32:24 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-12-26 12:32:24 +0100 |
commit | bd5f6ca5791ab62e7f0753e993e3455cfc9579ba (patch) | |
tree | 6940cabb79b2fea3803b2c4f6d39befb30b82407 | |
parent | ab7c9bef64a433824ba57a04efac98f48884bcd9 (diff) | |
download | hakyll-bd5f6ca5791ab62e7f0753e993e3455cfc9579ba.tar.gz |
UnknownFileType → Binary
-rw-r--r-- | src/Hakyll/Web/FileType.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Web/FileType.hs b/src/Hakyll/Web/FileType.hs index 8f0bdcc..9c1b681 100644 --- a/src/Hakyll/Web/FileType.hs +++ b/src/Hakyll/Web/FileType.hs @@ -23,7 +23,7 @@ data FileType | ReStructuredText | PlainText | Css - | UnknownFileType + | Binary deriving (Eq, Ord, Show, Read) -- | Get the file type for a certain file. The type is determined by extension. @@ -47,7 +47,7 @@ fileType = fileType' . takeExtension fileType' ".text" = PlainText fileType' ".txt" = PlainText fileType' ".css" = Css - fileType' _ = UnknownFileType + fileType' _ = Binary -- Treat unknown files as binary -- | Get the file type for the current file -- |