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

Commit 678ad5dd8bd82fa8c43a169ab7d9e81dac980890
Parent: 955967c99fdad9478a92310f894aabf3f1b40d1b
Author: mcol <mcol@posteo.net>
Date: 2021-09-28 20:10:05 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-09-28 20:10:05 +0100

File template should display file contents

templates/file.html Modified

@@ -12,11 +12,8 @@
     <p>{{- name }}</p>
     <hr>
 		<p>File <b>{{ file.path }}</b></p>
-		<p><b>{{ commit.title }}</b></p>
-    <p>{{ commit.body }}</p>
     <hr>
-		<p>Authored {{ commit.authored }} by: {{ commit.author }} ({{ commit.author_email }})</p>
-		<p>Committed {{ commit.committed }} by: {{ commit.committer }} ({{ commit.committer_email }})</p>
+    {{ file.contents }}
     <hr>
   </body>
 </html>