summaryrefslogtreecommitdiff
path: root/src/Hakyll
diff options
context:
space:
mode:
authorJoshua Simmons <joshua.simmons@emptypath.com>2015-03-30 13:21:16 -0700
committerJoshua Simmons <joshua.simmons@emptypath.com>2015-03-30 13:24:30 -0700
commit1ba78f4e0d60770255988519c20bd8ece3d8cca3 (patch)
tree2ba98d4194bae814c02d01e220b0a0c9ad54b596 /src/Hakyll
parent6a4b09e1c2c06f4dcd30c4ecd7bcb60462c95a2e (diff)
downloadhakyll-1ba78f4e0d60770255988519c20bd8ece3d8cca3.tar.gz
change file extension to .dbk for docbook
Diffstat (limited to 'src/Hakyll')
-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