summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web/Pandoc/FileType.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Web/Pandoc/FileType.hs')
-rw-r--r--src/Hakyll/Web/Pandoc/FileType.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Hakyll/Web/Pandoc/FileType.hs b/src/Hakyll/Web/Pandoc/FileType.hs
index a6d0dbd..29d08fe 100644
--- a/src/Hakyll/Web/Pandoc/FileType.hs
+++ b/src/Hakyll/Web/Pandoc/FileType.hs
@@ -40,8 +40,7 @@ fileType :: FilePath -> FileType
fileType = uncurry fileType' . splitExtension
where
fileType' _ ".css" = Css
- fileType' _ ".docbook" = DocBook
- fileType' _ ".db" = DocBook
+ fileType' _ ".dbk" = DocBook
fileType' _ ".htm" = Html
fileType' _ ".html" = Html
fileType' f ".lhs" = LiterateHaskell $ case fileType f of