summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Hakyll/Core/Configuration.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Hakyll/Core/Configuration.hs b/src/Hakyll/Core/Configuration.hs
index 3e3c44a..5c60ac5 100644
--- a/src/Hakyll/Core/Configuration.hs
+++ b/src/Hakyll/Core/Configuration.hs
@@ -20,6 +20,8 @@ data HakyllConfiguration = HakyllConfiguration
--
-- * files starting with a @.@
--
+ -- * files starting with a @#@
+ --
-- * files ending with a @~@
--
-- * files ending with @.swp@
@@ -57,8 +59,9 @@ defaultHakyllConfiguration = HakyllConfiguration
}
where
ignoreFile' path
- | "." `isPrefixOf` fileName = True
- | "~" `isSuffixOf` fileName = True
+ | "." `isPrefixOf` fileName = True
+ | "#" `isPrefixOf` fileName = True
+ | "~" `isSuffixOf` fileName = True
| ".swp" `isSuffixOf` fileName = True
| otherwise = False
where