summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-08-04 13:04:30 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-08-04 13:04:30 +0200
commitf30a3a6ba39127cfd6b071d40c90170eacf62426 (patch)
treec09824ccdced8c6a8960f2c76549ce2fdb16c2da
parent8fec0fd80e91e6a33e94735ba636ddb11bbb0425 (diff)
downloaddirty-haskell.org-f30a3a6ba39127cfd6b071d40c90170eacf62426.tar
dirty-haskell.org-f30a3a6ba39127cfd6b071d40c90170eacf62426.tar.gz
dirty-haskell.org-f30a3a6ba39127cfd6b071d40c90170eacf62426.tar.bz2
dirty-haskell.org-f30a3a6ba39127cfd6b071d40c90170eacf62426.tar.xz
dirty-haskell.org-f30a3a6ba39127cfd6b071d40c90170eacf62426.zip
Manual line break in hakyll.md
-rw-r--r--provider/posts/hakyll.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/provider/posts/hakyll.md b/provider/posts/hakyll.md
index fe2f856..8e8b1fc 100644
--- a/provider/posts/hakyll.md
+++ b/provider/posts/hakyll.md
@@ -69,7 +69,8 @@ renderTag tag tags = do
69 ellipsisItem <- makeItem "" 69 ellipsisItem <- makeItem ""
70 let 70 let
71 ids = fromMaybe [] $ lookup tag $ tagsMap tags 71 ids = fromMaybe [] $ lookup tag $ tagsMap tags
72 postCtx = mconcat [ listField "posts" (ellipsisContext ellipsisItem) $ liftM (withEllipsis ellipsisItem) $ chronological =<< mapM load ids 72 postCtx = mconcat [ listField "posts" (ellipsisContext ellipsisItem) $
73 liftM (withEllipsis ellipsisItem) $ chronological =<< mapM load ids
73 , constField "title" tag 74 , constField "title" tag
74 , constField "rss" ("tags/" ++ tagTranslation tag ++ ".rss") 75 , constField "rss" ("tags/" ++ tagTranslation tag ++ ".rss")
75 , constField "url" ("tags/" ++ tagTranslation tag ++ ".html") 76 , constField "url" ("tags/" ++ tagTranslation tag ++ ".html")