From 2b9b2bdb1fb9a6c94859025ac1588faf4a5fbcdb Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Mon, 19 Dec 2022 17:49:32 +0530 Subject: css: add bg to readme/file content --- templates/commit.html | 7 +++++-- templates/file.html | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/commit.html b/templates/commit.html index b1b3cbc..65803b7 100644 --- a/templates/commit.html +++ b/templates/commit.html @@ -49,8 +49,11 @@
{{ if .Name.Old }} - {{ .Name.Old }} → - {{ .Name.New }} + {{ .Name.Old }} + {{ if .Name.New }} + → + {{ .Name.New }} + {{ end }} {{ else }} {{ .Name.New }} {{- end -}} diff --git a/templates/file.html b/templates/file.html index a4485f3..f231969 100644 --- a/templates/file.html +++ b/templates/file.html @@ -7,6 +7,7 @@ {{ template "nav" . }}
+

{{ .path }}

{{- range .linecount }} -- cgit