@@ -83,19 +83,20 @@ getRoute identifier = do
8383
8484
8585--------------------------------------------------------------------------------
86−-- | Get the body of the underlying resource
86+-- | Get the full contents of the matched source file as a string,
87+-- but without metadata preamble, if there was one.
8788getResourceBody :: Compiler (Item String)
8889getResourceBody = getResourceWith resourceBody
8990
9091
9192--------------------------------------------------------------------------------
92−-- | Get the resource we are compiling as a string
93+-- | Get the full contents of the matched source file as a string.
9394getResourceString :: Compiler (Item String)
9495getResourceString = getResourceWith resourceString
9596
9697
9798--------------------------------------------------------------------------------
98−-- | Get the resource we are compiling as a lazy bytestring
99+-- | Get the full contents of the matched source file as a lazy bytestring.
99100getResourceLBS :: Compiler (Item ByteString)
100101getResourceLBS = getResourceWith resourceLBS
101102