mygit

[UNMAINTAINED] A cgit/webgit alternative, written in Rust
Log | Files | Refs | README | LICENSE

commit 645bd12e06779d7869e167aa9627ad2e3f5768d6
parent dfe12f1cfe7d547fd01cfa6b57e68cfcb7216c75
Author: Johann150 <johann@qwertqwefsday.eu>
Date:   Mon, 28 Jun 2021 20:40:46 +0200

make commit page clearer

The commit message is now separated from the metadata as in gitweb,
making it hopefully faster to find and more set out from the rest of
the page.

Diffstat:
Mtemplates/commit.html | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/templates/commit.html b/templates/commit.html @@ -14,6 +14,7 @@ <br> {% let stats = diff.stats().unwrap() %} {{stats.files_changed()}} files changed; {{stats.insertions()}} insertions {{stats.deletions()}} deletions + <hr class="thin"/> <pre class="commit-message">{{commit.message().unwrap()}}</pre> <hr class="thin"/> <pre id="diff">{{self.diff()|safe}}</pre>