diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Hakyll/Render.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Hakyll/Render.hs b/src/Text/Hakyll/Render.hs index c611a88..7c52d9b 100644 --- a/src/Text/Hakyll/Render.hs +++ b/src/Text/Hakyll/Render.hs @@ -22,8 +22,7 @@ import Text.Hakyll.Util depends :: FilePath -> [FilePath] -> IO () -> IO () depends file dependencies action = do valid <- isCacheValid (toDestination file) dependencies - if valid then return () - else action + unless valid action createContext :: Page -> Context createContext = M.fromList . map packPair . M.toList |