nicer code layout
authorrekado <rekado@elephly.net>
Sun, 27 Oct 2013 01:43:04 +0000 (09:43 +0800)
committerrekado <rekado@elephly.net>
Sun, 27 Oct 2013 01:43:11 +0000 (09:43 +0800)
site.hs

diff --git a/site.hs b/site.hs
index 3b9bfab4c31197e778b59eaaa9a2ede8d74ca34f..2b45e75e595abc66adad30b95b2c648687ebf8aa 100644 (file)
--- a/site.hs
+++ b/site.hs
@@ -120,12 +120,11 @@ main = hakyllWith config $ do
 
 --------------------------------------------------------------------------------
 postCtx :: Context String
-postCtx =
-    dateField "date" "%B %e, %Y" <>
-    photoSnippet <>
-    flattrSnippet <>
-    licenseSnippet <>
-    defaultContext
+postCtx = dateField "date" "%B %e, %Y"
+          <> photoSnippet
+          <> flattrSnippet
+          <> licenseSnippet
+          <> defaultContext
 
 -- If a post declares a certain key in the metadata header,
 -- load the given template, otherwise ignore.