This is the main Hakyll module, exporting the important hakyll
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 :: String -> HakyllConfiguration
- hakyll :: String -> Hakyll () -> IO ()
- hakyllWithConfiguration :: HakyllConfiguration -> Hakyll () -> IO ()
Documentation
defaultHakyllConfigurationSource
:: String | Absolute site URL. |
-> HakyllConfiguration | Default config. |
The default hakyll configuration.
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.