hakyll-ogmarkup

Integrate ogmarkup document with Hakyll


Keywords
library, mit, web, Propose Tags , Hakyll.Ogmarkup
License
MIT
Install
cabal install hakyll-ogmarkup-3.0

Documentation

Hakyll + ogmarkup

With the module, you can use the ogmarkup language to write your stories and Hakyll to publish them.

For instance, one can add the following lines (considering HakyllConf is a valid ogmarkup configuration which has been defined elsewere, see ogmarkup configuration for additional information):

    match "w/*" $ do
        route $ setExtension "html"
        compile $ ogmarkupCompile HakyllConf
            >>= loadAndApplyTemplate "templates/post.html"    postCtx
            >>= loadAndApplyTemplate "templates/default.html" postCtx
            >>= relativizeUrls