summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2013-01-14 10:47:04 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2013-01-14 10:47:04 +0100
commit4280b75ef67a0c2224198ad1b30bd100cc56f7a4 (patch)
tree0456328410db744bfb048574aaa90f27c44eeb83 /src/Hakyll/Core
parent82a725bd8f59453cacf3ff5e45b3a7d2903dbb2f (diff)
downloadhakyll-4280b75ef67a0c2224198ad1b30bd100cc56f7a4.tar.gz
Append missingField before applying templates
This gives better errror messages in some cases
Diffstat (limited to 'src/Hakyll/Core')
-rw-r--r--src/Hakyll/Core/Compiler.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Core/Compiler.hs b/src/Hakyll/Core/Compiler.hs
index ca43201..dcaf2f0 100644
--- a/src/Hakyll/Core/Compiler.hs
+++ b/src/Hakyll/Core/Compiler.hs
@@ -48,7 +48,7 @@ import qualified Hakyll.Core.Store as Store
--------------------------------------------------------------------------------
--- | Get the underlying identifier. Only use this if you know what you're doing.
+-- | Get the underlying identifier.
getUnderlying :: Compiler Identifier
getUnderlying = compilerUnderlying <$> compilerAsk