summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-10-27 09:43:04 +0800
committerrekado <rekado@elephly.net>2013-10-27 09:43:11 +0800
commit81ecec01572e07e81ce21af4c3298e9197593f6d (patch)
tree865bec7c976f010fcd04af02919d13c907c694ce
parent84cf755f9c4ace326c6f4641a8f014c2faefce56 (diff)
nicer code layout
-rw-r--r--site.hs11
1 files changed, 5 insertions, 6 deletions
diff --git a/site.hs b/site.hs
index 3b9bfab..2b45e75 100644
--- 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.