Skip to content

About

Integrate ogmarkup document with Hakyll

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

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

About

Integrate ogmarkup document with Hakyll

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages