Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- gitFields :: String -> String -> Context a
- gitSha1Compiler :: String -> Item a -> TemplateRunner a String
- gitMessageCompiler :: String -> Item a -> TemplateRunner a String
- gitLogField :: LogFormat -> String -> Item a -> TemplateRunner a String
- gitFileField :: IntoValue v a => String -> String -> (GitFile -> v) -> Context a
- gitFileCompiler :: String -> Item a -> TemplateRunner a GitFile
- gitBranchCompiler :: Item a -> TemplateRunner a String
- gitBranch :: IO String
Documentation
:: String | The configured hakyll provider directory. |
-> String | The base url to the online git repository for browsing. |
-> Context a |
The Git fields configuration.
gitSha1Compiler :: String -> Item a -> TemplateRunner a String Source #
Gets the git-sha1 hash of the current item.
gitMessageCompiler :: String -> Item a -> TemplateRunner a String Source #
Gets the git commit message of the current item.
gitLogField :: LogFormat -> String -> Item a -> TemplateRunner a String Source #
Extracts a latest git log field from the current item.
:: IntoValue v a | |
=> String | The hakyll provider directory. |
-> String | The field name. |
-> (GitFile -> v) | The getter for the git file field. |
-> Context a |
gets a given field from the git file.
:: String | The hakyll provider directory. |
-> Item a | The item to compile. |
-> TemplateRunner a GitFile |
Compiles the git file for the given item.
gitBranchCompiler :: Item a -> TemplateRunner a String Source #