diff --git a/hakyll.cabal b/hakyll.cabal
--- a/hakyll.cabal
+++ b/hakyll.cabal
@@ -1,5 +1,5 @@
 Name:    hakyll
-Version: 4.7.1.0
+Version: 4.7.2.0
 
 Synopsis: A static website compiler library
 Description:
@@ -156,7 +156,7 @@
     mtl             >= 1       && < 2.3,
     network         >= 2.6     && < 2.7,
     network-uri     >= 2.6     && < 2.7,
-    pandoc          >= 1.14    && < 1.15,
+    pandoc          >= 1.14    && < 1.16,
     pandoc-citeproc >= 0.4     && < 0.8,
     parsec          >= 3.0     && < 3.2,
     process         >= 1.0     && < 1.3,
@@ -241,7 +241,7 @@
     mtl             >= 1       && < 2.3,
     network         >= 2.6     && < 2.7,
     network-uri     >= 2.6     && < 2.7,
-    pandoc          >= 1.14    && < 1.15,
+    pandoc          >= 1.14    && < 1.16,
     pandoc-citeproc >= 0.4     && < 0.8,
     parsec          >= 3.0     && < 3.2,
     process         >= 1.0     && < 1.3,
diff --git a/src/Hakyll/Core/Compiler.hs b/src/Hakyll/Core/Compiler.hs
--- a/src/Hakyll/Core/Compiler.hs
+++ b/src/Hakyll/Core/Compiler.hs
@@ -83,19 +83,20 @@
 
 
 --------------------------------------------------------------------------------
--- | Get the body of the underlying resource
+-- | Get the full contents of the matched source file as a string,
+-- but without metadata preamble, if there was one.
 getResourceBody :: Compiler (Item String)
 getResourceBody = getResourceWith resourceBody
 
 
 --------------------------------------------------------------------------------
--- | Get the resource we are compiling as a string
+-- | Get the full contents of the matched source file as a string.
 getResourceString :: Compiler (Item String)
 getResourceString = getResourceWith resourceString
 
 
 --------------------------------------------------------------------------------
--- | Get the resource we are compiling as a lazy bytestring
+-- | Get the full contents of the matched source file as a lazy bytestring.
 getResourceLBS :: Compiler (Item ByteString)
 getResourceLBS = getResourceWith resourceLBS
 
diff --git a/src/Hakyll/Core/Item.hs b/src/Hakyll/Core/Item.hs
--- a/src/Hakyll/Core/Item.hs
+++ b/src/Hakyll/Core/Item.hs
@@ -10,7 +10,7 @@
 
 
 --------------------------------------------------------------------------------
-import           Control.Applicative           (Applicative, (<$>), (<*>))
+import           Control.Applicative           ((<$>), (<*>))
 import           Data.Binary                   (Binary (..))
 import           Data.Foldable                 (Foldable (..))
 import           Data.Traversable              (Traversable (..))
diff --git a/src/Hakyll/Preview/Poll.hs b/src/Hakyll/Preview/Poll.hs
--- a/src/Hakyll/Preview/Poll.hs
+++ b/src/Hakyll/Preview/Poll.hs
@@ -14,7 +14,7 @@
 import           Control.Monad                  (forever, void, when)
 import           Filesystem.Path.CurrentOS      (decodeString, encodeString)
 import           System.Directory               (canonicalizePath)
-import           System.FilePath                (pathSeparators, (</>))
+import           System.FilePath                (pathSeparators)
 import           System.FSNotify                (Event (..), startManager,
                                                  watchTree)
 
@@ -23,6 +23,7 @@
 import           Control.Exception              (IOException, throw, try)
 import           System.Directory               (doesFileExist)
 import           System.Exit                    (exitFailure)
+import           System.FilePath                ((</>))
 import           System.IO                      (Handle, IOMode (ReadMode),
                                                  hClose, openFile)
 import           System.IO.Error                (isPermissionError)
diff --git a/src/Hakyll/Web/Template/Context.hs b/src/Hakyll/Web/Template/Context.hs
--- a/src/Hakyll/Web/Template/Context.hs
+++ b/src/Hakyll/Web/Template/Context.hs
@@ -36,7 +36,7 @@
 import           Data.Monoid                   (Monoid (..))
 import           Data.Time.Clock               (UTCTime (..))
 import           Data.Time.Format              (TimeLocale, defaultTimeLocale,
-                                                formatTime, parseTime)
+                                                formatTime, parseTimeM)
 import           System.FilePath               (splitDirectories, takeBaseName)
 
 
@@ -282,7 +282,7 @@
   where
     empty'     = fail $ "Hakyll.Web.Template.Context.getItemUTC: " ++
         "could not parse time for " ++ show id'
-    parseTime' = parseTime locale
+    parseTime' = parseTimeM True locale
     formats    =
         [ "%a, %d %b %Y %H:%M:%S %Z"
         , "%Y-%m-%dT%H:%M:%S%Z"
diff --git a/src/Hakyll/Web/Template/Internal.hs b/src/Hakyll/Web/Template/Internal.hs
--- a/src/Hakyll/Web/Template/Internal.hs
+++ b/src/Hakyll/Web/Template/Internal.hs
@@ -128,7 +128,7 @@
 --------------------------------------------------------------------------------
 template :: P.Parser Template
 template = Template <$>
-    (P.many1 $ chunk <|> escaped <|> conditional <|> for <|> partial <|> expr)
+    (P.many $ chunk <|> escaped <|> conditional <|> for <|> partial <|> expr)
 
 
 --------------------------------------------------------------------------------
