diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-06-02 09:19:47 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-06-02 09:19:47 +0200 |
commit | 96169135bc7d75138ab8bedfb8f6a6030bbc3571 (patch) | |
tree | 6a6e96be4ead8a8b4c0e987d679ceee44700e449 | |
parent | 2b3e4156bb8940239e6560bddb6bcd6e2fb2588b (diff) | |
download | blog.universe-factory.net-master.tar blog.universe-factory.net-master.zip |
-rw-r--r-- | hakyll.hs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -53,10 +53,8 @@ main = hakyll $ do >>> paginatePosts match "posts/*" $ compile $ pageCompiler - >>> (id &&& getIdentifier) - >>> setFieldA "path" (arr $ fromMaybe "" . runRoutes (setExtension ".html")) >>> (id &&& arr (getField "path")) - >>> setFieldA "url" (arr toUrl) + >>> setFieldA "url" (arr (Identifier postGroup) >>> getRouteFor >>> arr (fromMaybe "" . fmap toUrl)) -- Tags create "tags" $ |