diff options
Diffstat (limited to 'src/Hakyll')
-rw-r--r-- | src/Hakyll/Web/Template/Context.hs | 2 |
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 |