summaryrefslogtreecommitdiff
path: root/web/site.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2013-01-06 09:51:09 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2013-01-06 09:51:09 +0100
commit18b6ac5ad42e50e75b9ee9fcfc8aef00f5a00957 (patch)
tree57beaf14230266e7eae2a4016625359593163ab6 /web/site.hs
parent6b7fbad7fe8634fd3c1fec37636bde7609270d31 (diff)
downloadhakyll-18b6ac5ad42e50e75b9ee9fcfc8aef00f5a00957.tar.gz
Add create in addition to match
Diffstat (limited to 'web/site.hs')
-rw-r--r--web/site.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/site.hs b/web/site.hs
index aac6368..79578dd 100644
--- a/web/site.hs
+++ b/web/site.hs
@@ -48,7 +48,7 @@ main = hakyllWith config $ do
>>= relativizeUrls
-- Tutorial list
- match "tutorials.html" $ do
+ create ["tutorials.html"] $ do
route idRoute
compile $ do
tutorials <- loadAll "tutorials/*"
@@ -79,8 +79,7 @@ main = hakyllWith config $ do
--------------------------------------------------------------------------------
config :: Configuration
config = defaultConfiguration
- { verbosity = Debug
- , deployCommand = "rsync --checksum -ave 'ssh -p 2222' \
+ { deployCommand = "rsync --checksum -ave 'ssh -p 2222' \
\_site/* jaspervdj@jaspervdj.be:jaspervdj.be/tmp/hakyll4"
}