🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit 5fb5632025430b5e4dd9f126300c39d7f24492c6
Parent: e7a9e4cb4460c64a723f9f15a715102e6c7a8b92
Author: mcol <mcol@posteo.net>
Date: 2021-09-24 10:18:15 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-09-24 10:18:15 +0100

lint long type signature

src/Templates.hs Modified

@@ -86,6 +86,8 @@
 This is the generator function that receives repository-specific variables and uses
 Ginger to render templates using them.
 -}
-generate :: HashMap.HashMap Text Text -> Template ->
-    IO (Either (RuntimeError G.SourcePos) (GVal (Run G.SourcePos IO Html)))
+generate
+    :: HashMap.HashMap Text Text
+    -> Template
+    -> IO (Either (RuntimeError G.SourcePos) (GVal (Run G.SourcePos IO Html)))
 generate context template = easyRenderM writeTo context (templateGinger template)