summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Web')
-rw-r--r--src/Hakyll/Web/Template/Context.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Web/Template/Context.hs b/src/Hakyll/Web/Template/Context.hs
index 67c4070..084a42e 100644
--- a/src/Hakyll/Web/Template/Context.hs
+++ b/src/Hakyll/Web/Template/Context.hs
@@ -51,7 +51,7 @@ newtype Context a = Context
--------------------------------------------------------------------------------
instance Monoid (Context a) where
- mempty = Context $ \_ _ -> empty
+ mempty = missingField
mappend (Context f) (Context g) = Context $ \k i -> f k i <|> g k i