From 81ecec01572e07e81ce21af4c3298e9197593f6d Mon Sep 17 00:00:00 2001 From: rekado Date: Sun, 27 Oct 2013 09:43:04 +0800 Subject: nicer code layout --- site.hs | 11 +++++------ 1 file 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. -- cgit v1.2.3