diff options
Diffstat (limited to 'src/Hakyll')
-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 -- |