Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- buildProject :: Settings -> [Page] -> PostTemplate -> IO Project
- buildSite :: Settings -> Project -> IO ()
- compilePosts :: PostTemplate -> FilePath -> IO [Post]
Documentation
buildProject :: Settings -> [Page] -> PostTemplate -> IO Project Source #
buildSite :: Settings -> Project -> IO () Source #
Build the final static site
Takes two arguments and creates the files needed for the static site, saving them in the previously-set dist_location
.
compilePosts :: PostTemplate -> FilePath -> IO [Post] Source #
Compile the posts starting from the templates and the folder where the markdown files are.