summaryrefslogtreecommitdiff
path: root/examples/tagblog
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-11 10:02:33 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-11 10:02:33 +0100
commit7a765f29a2f5dcf753e5418c96a9c40ddb9112be (patch)
tree8eaf3bd1156022177202e4037f5e54a6bc64dc71 /examples/tagblog
parenteb1fe136880e24836ef08746f2bd96258c35e3df (diff)
downloadhakyll-7a765f29a2f5dcf753e5418c96a9c40ddb9112be.tar.gz
Added $root in filepaths.
Diffstat (limited to 'examples/tagblog')
-rw-r--r--examples/tagblog/hakyll.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tagblog/hakyll.hs b/examples/tagblog/hakyll.hs
index 1476360..d30da26 100644
--- a/examples/tagblog/hakyll.hs
+++ b/examples/tagblog/hakyll.hs
@@ -58,7 +58,7 @@ main = hakyll $ do
postManipulation = renderDate "date" "%B %e, %Y" "Date unknown"
. renderTagLinks tagToURL
- tagToURL tag = "/tags/" ++ removeSpaces tag ++ ".html"
+ tagToURL tag = "$root/tags/" ++ removeSpaces tag ++ ".html"
renderPostList url title posts = do
let postItems = renderAndConcatWith postManipulation