noli-0.1.1.0: A static site generator

Safe HaskellNone
LanguageHaskell2010

Noli

Synopsis

Documentation

buildProject :: Settings -> [Page] -> PostTemplate -> IO Project Source #

Build the dynamic Project which works as a basis for the final static site. It takes three arguments and returns a compiled Project

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.