diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-24 19:14:16 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-24 19:14:16 +0100 |
commit | fe7182d28856514d2e19a3ef588282129cc21fe2 (patch) | |
tree | 6d5e9397e56ee68b7ea6e6bfa09b049548d11dc6 /src/Text/Hakyll/File.hs | |
parent | d97a53b6b490bc997cfee6d2f16ab7cba9499347 (diff) | |
download | hakyll-fe7182d28856514d2e19a3ef588282129cc21fe2.tar.gz |
Added support for literate haskell files - patch by Mark Harris.
Diffstat (limited to 'src/Text/Hakyll/File.hs')
-rw-r--r-- | src/Text/Hakyll/File.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Hakyll/File.hs b/src/Text/Hakyll/File.hs index 852436b..992490c 100644 --- a/src/Text/Hakyll/File.hs +++ b/src/Text/Hakyll/File.hs @@ -56,6 +56,7 @@ toURL path = if takeExtension path `elem` [ ".markdown" , ".rst" , ".text" , ".tex" + , ".lhs" ] then flip addExtension ".html" $ dropExtension path else path |