summaryrefslogtreecommitdiff
path: root/examples/rssblog/hakyll.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-19 20:42:16 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-19 20:42:16 +0100
commit715387756e57b539e29d036515e047cdf5d264ba (patch)
tree2221ca421c0a5abf4a2c5f8cda14c5582f243b3b /examples/rssblog/hakyll.hs
parent0ba0eac8d96c11d13163c7ec184392513de7ca77 (diff)
downloadhakyll-715387756e57b539e29d036515e047cdf5d264ba.tar.gz
Made hakyll function backward-compatible. Version bump.
Diffstat (limited to 'examples/rssblog/hakyll.hs')
-rw-r--r--examples/rssblog/hakyll.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rssblog/hakyll.hs b/examples/rssblog/hakyll.hs
index 581da9e..8d403b4 100644
--- a/examples/rssblog/hakyll.hs
+++ b/examples/rssblog/hakyll.hs
@@ -1,7 +1,7 @@
module Main where
import Control.Monad.Reader (liftIO)
-import Text.Hakyll (hakyll, defaultHakyllConfiguration)
+import Text.Hakyll (hakyll)
import Text.Hakyll.Render (renderAndConcat, renderChain, css)
import Text.Hakyll.File (getRecursiveContents, directory)
import Text.Hakyll.Renderables (createPagePath, createCustomPage)
@@ -9,7 +9,7 @@ import Data.List (sort)
import Control.Monad (mapM_, liftM)
import Data.Either (Either(..))
-main = hakyll defaultHakyllConfiguration $ do
+main = hakyll $ do
-- Static directory.
directory css "css"