summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2009-12-20 10:02:02 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2009-12-20 10:02:02 +0100
commit5985951bed75216b0fa923ee7339ea92ccc9bd8e (patch)
treee33714c0ce9475477cbbd890de614627ae5555cb /src
parentef4c166a1c1c918f47ee46933beb02e3edb8569d (diff)
downloadhakyll-5985951bed75216b0fa923ee7339ea92ccc9bd8e.tar.gz
Fixed bug in css rendering.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Hakyll/Render.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Hakyll/Render.hs b/src/Text/Hakyll/Render.hs
index 7e9d55c..d9dc7f5 100644
--- a/src/Text/Hakyll/Render.hs
+++ b/src/Text/Hakyll/Render.hs
@@ -75,4 +75,5 @@ css source = depends destination [source] css'
where destination = toDestination source
css' = do h <- openFile source ReadMode
contents <- hGetContents h
+ makeDirectories destination
writeFile destination (compressCSS contents)