diff options
Diffstat (limited to 'src/Hakyll/Web/Template')
-rw-r--r-- | src/Hakyll/Web/Template/Read.hs | 10 | ||||
-rw-r--r-- | src/Hakyll/Web/Template/Read/Hakyll.hs | 1 | ||||
-rw-r--r-- | src/Hakyll/Web/Template/Read/Hamlet.hs | 4 |
3 files changed, 10 insertions, 5 deletions
diff --git a/src/Hakyll/Web/Template/Read.hs b/src/Hakyll/Web/Template/Read.hs new file mode 100644 index 0000000..421b7e9 --- /dev/null +++ b/src/Hakyll/Web/Template/Read.hs @@ -0,0 +1,10 @@ +-- | Re-exports all different template reading modules +-- +module Hakyll.Web.Template.Read + ( readTemplate + , readHamletTemplate + , readHamletTemplateWith + ) where + +import Hakyll.Web.Template.Read.Hakyll +import Hakyll.Web.Template.Read.Hamlet diff --git a/src/Hakyll/Web/Template/Read/Hakyll.hs b/src/Hakyll/Web/Template/Read/Hakyll.hs index fbbfee2..e0e10f4 100644 --- a/src/Hakyll/Web/Template/Read/Hakyll.hs +++ b/src/Hakyll/Web/Template/Read/Hakyll.hs @@ -6,7 +6,6 @@ module Hakyll.Web.Template.Read.Hakyll import Data.List (isPrefixOf) import Data.Char (isAlphaNum) -import Data.Maybe (fromMaybe) import Hakyll.Web.Template.Internal diff --git a/src/Hakyll/Web/Template/Read/Hamlet.hs b/src/Hakyll/Web/Template/Read/Hamlet.hs index 1c9bbf6..55b73f8 100644 --- a/src/Hakyll/Web/Template/Read/Hamlet.hs +++ b/src/Hakyll/Web/Template/Read/Hamlet.hs @@ -6,12 +6,8 @@ module Hakyll.Web.Template.Read.Hamlet , readHamletTemplateWith ) where -import Control.Monad.Trans (liftIO) -import System.FilePath (takeExtension) - import Text.Hamlet (HamletSettings (..), defaultHamletSettings) import Text.Hamlet.RT -import Control.Failure import Hakyll.Web.Template.Internal |