git-preview @ main

static git web frontend but with images and html previews + code truncation

templates: improve this & parent commit
Thu, 22 Dec 2022
1 files changed, 11 insertions(+), 4 deletions(-)
M templates/commit.html

@@ -15,16 +15,23 @@ {{ .commit.Author.Name }} <span class="commit-email">{{ .commit.Author.Email}}</span>

<div>{{ .commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> </div> - <p>commit: <a href="/{{ .name }}/commit/{{ .commit.This }}"> + <div> + <strong>commit</strong> + <p><a href="/{{ .name }}/commit/{{ .commit.This }}"> {{ .commit.This }} </a> </p>

… preview truncated