on master help sign in
change file extension to .dbk for docbook
commit1ba78f4e0d60770255988519c20bd8ece3d8cca3 authorJoshua Simmons <joshua.simmons@emptypath.com> dateMon 30 Mar 2015, 13:21 (12 years ago) parent6a4b09e
1 file changed+1−2
src/Hakyll/Web/Pandoc/FileType.hs+1−2
src/Hakyll/Web/Pandoc/FileType.hs+1−2
@@ -40,8 +40,7 @@ fileType :: FilePath -> FileType
4040fileType = uncurry fileType' . splitExtension
4141 where
4242 fileType' _ ".css" = Css
43− fileType' _ ".docbook" = DocBook
44− fileType' _ ".db" = DocBook
43+ fileType' _ ".dbk" = DocBook
4544 fileType' _ ".htm" = Html
4645 fileType' _ ".html" = Html
4746 fileType' f ".lhs" = LiterateHaskell $ case fileType f of