diff options
-rw-r--r-- | site.hs | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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. |