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

Commit 4b1000726657b383af373898613a9c112b2b7845
Parent: dd5033c4253dbe6e9c90b75b675783e51c4fa4fd
Author: mcol <mcol@posteo.net>
Date: 2021-09-25 14:37:16 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-09-25 14:37:16 +0100

Reverse commits when passed to templates

src/Repositories.hs Modified

@@ -96,7 +96,7 @@
     [ ("host", toGVal $ host config)
     , ("name", toGVal $ pack name)
     , ("description", toGVal description)
-    , ("commits", toGVal commits)
+    , ("commits", toGVal . reverse $ commits)  -- Could be optimised
     , ("tree", toGVal tree)
     ]