hakyll-2.0: A simple static site generator library.Source codeContentsIndex

This is the main Hakyll module, exporting the important hakyl function.

Most configurations would use this hakyll function more or less as the main function:

 main = hakyll $ do
     directory css "css"
     directory static "images"
defaultHakyllConfiguration :: HakyllConfiguration
hakyll :: String -> Hakyll () -> IO ()
hakyllWithConfiguration :: HakyllConfiguration -> Hakyll () -> IO ()
defaultHakyllConfiguration :: HakyllConfigurationSource
The default hakyll configuration.
:: StringAbsolute URL of your site. Used in certain cases.
-> Hakyll ()You code.
-> IO ()
Main function to run Hakyll with the default configuration. The absolute URL is only used in certain cases, for example RSS feeds et cetera.
hakyllWithConfiguration :: HakyllConfiguration -> Hakyll () -> IO ()Source
Main function to run hakyll with a custom configuration.
Produced by Haddock version 2.7.2