hakyll-2.2.2: A simple static site generator library.

Text.Hakyll

Description

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"

Synopsis

Documentation

defaultHakyllConfigurationSource

Arguments

:: String

Absolute site URL.

-> HakyllConfiguration

Default config.

The default hakyll configuration.

hakyllSource

Arguments

:: String

Absolute 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.