summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web
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 /src/Hakyll/Web
parent6b7fbad7fe8634fd3c1fec37636bde7609270d31 (diff)
downloadhakyll-18b6ac5ad42e50e75b9ee9fcfc8aef00f5a00957.tar.gz
Add create in addition to match
Diffstat (limited to 'src/Hakyll/Web')
-rw-r--r--src/Hakyll/Web/Tags.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Web/Tags.hs b/src/Hakyll/Web/Tags.hs
index bf2b9d7..4566db6 100644
--- a/src/Hakyll/Web/Tags.hs
+++ b/src/Hakyll/Web/Tags.hs
@@ -143,7 +143,7 @@ buildCategories = buildTagsWith getCategory
tagsRules :: Tags -> (String -> Pattern -> Rules ()) -> Rules ()
tagsRules tags rules =
forM_ (tagsMap tags) $ \(tag, identifiers) ->
- match (fromGlob $ toFilePath $ tagsMakeId tags tag) $
+ create [tagsMakeId tags tag] $
rulesExtraDependencies [tagsDependency tags] $
rules tag $ fromList identifiers