@@ -10,6 +10,16 @@
11-- * @error/404@
11-- * @error/404@
13+-- The most important difference between an 'Identifier' and a file path is that
14+-- the identifier for an item is not necesserily the file path.
16+-- For example, we could have an @index@ identifier, generated by Hakyll. The
17+-- actual file path would be @index.html@, but we identify it using @index@.
19+-- @posts/foo.markdown@ could be an identifier of an item that is rendered to
20+-- @posts/foo.html@. In this case, the identifier is the name of the source
13{-# LANGUAGE GeneralizedNewtypeDeriving #-}
23{-# LANGUAGE GeneralizedNewtypeDeriving #-}
14module Hakyll.Core.Identifier
24module Hakyll.Core.Identifier
15 ( Identifier (..)
25 ( Identifier (..)