diff options
-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" $ |