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

Commit 8aefb19ecb8ffb756fea27a23513db72f7106e0b
Parent: 4b1000726657b383af373898613a9c112b2b7845
Author: mcol <mcol@posteo.net>
Date: 2021-09-25 18:55:43 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-09-25 18:55:43 +0100

Only output information on last 50 commits to log example

templates/log.html Modified

@@ -13,7 +13,7 @@
     <hr>
     <p>{{- description }}</p>
     <p>git clone {{ host }}/{{- name }}</p>
-    {% for commit in commits %}
+    {% for commit in commits[:50] %}
     <p>{{- commit.title }}</p>
     {% endfor %}
   </body>