site: copy all subdirectories in images/
authorLucian Mogosanu <lucian.mogosanu@gmail.com>
Sun, 4 Aug 2013 13:45:38 +0000 (16:45 +0300)
committerLucian Mogosanu <lucian.mogosanu@gmail.com>
Sun, 4 Aug 2013 13:45:38 +0000 (16:45 +0300)
site.hs

diff --git a/site.hs b/site.hs
index 4510c2d..af95ed3 100644 (file)
--- a/site.hs
+++ b/site.hs
@@ -16,7 +16,7 @@ main = hakyllWith tarpitConfiguration $ do
   match "index.html" compileIndex
   match "css/*" compileCss
   match "posts/*" $ compilePosts tags
-  match "images/*" $ compileImages
+  match "images/**" $ compileImages
   match (fromList pages) compilePages
   create ["archive.html"] compileArchive