Permalink
Browse files

Updated snap-website to use snap-static-pages 0.1.0

  • Loading branch information...
1 parent 83a2b7a commit 3d70441968840fd7750eaf6f3d6540072a40383a @AlexeyMK AlexeyMK committed Dec 14, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 snap-website.cabal
  2. +1 −1 src/Main.hs
View
@@ -29,7 +29,7 @@ Executable snap-website
process,
snap-core >= 0.3 && <0.4,
snap-server >= 0.3 && <0.4,
- snap-static-pages >= 0.0.1 && <0.1,
+ snap-static-pages >= 0.1 && <1.0,
text,
time,
transformers,
View
@@ -61,7 +61,7 @@ initSiteState = do
(origTs,staticState) <- bindStaticTag .
bindSplice "snap-version" serverVersion
- $ emptyTemplateState
+ $ emptyTemplateState "templates"
ets <- loadTemplates "templates" origTs
let ts = either error id ets

0 comments on commit 3d70441

Please sign in to comment.