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

Commit 4f438873fbc14a4f12794cdda78ee458a8ef7e4b
Parent: e26524c74c022dcda47542a6cf0021b8c9ceb5c1
Author: mcol <mcol@posteo.net>
Date: 2022-04-06 21:43:59 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2022-04-06 21:43:59 +0100

fix test that failed due to stripping file contents

test/templates/repo/file.html Modified

@@ -6,8 +6,8 @@
 file: {{ file }}
 file.path: {{ file.path }}
 file.href: {{ file.href }}
-file.contents: {% if file.is_binary %}(binary){% else %}{{ file.contents }}{% endif %}
-
+file.contents: {% if file.is_binary %}(binary)
+{% else %}{{ file.contents }}{% endif %}
 file.mode: {{ file.mode }}
 file.mode_octal: {{ file.mode_octal }}
 file.mode_symbolic: {{ file.mode_symbolic }}