From 18b6ac5ad42e50e75b9ee9fcfc8aef00f5a00957 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sun, 6 Jan 2013 09:51:09 +0100 Subject: Add create in addition to match --- web/site.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'web/site.hs') 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" } -- cgit v1.2.3