From: Sergey Matveev Date: Mon, 28 Nov 2022 19:48:53 +0000 (+0300) Subject: Fix data-gpg-sig attribute rendering X-Git-Tag: v3.7.0^0 X-Git-Url: http://www.git.cypherpunks.ru/?p=gocheese.git;a=commitdiff_plain;h=4071da45359c4b77b259e0ced59bf90b85c40ccc Fix data-gpg-sig attribute rendering --- diff --git a/list.tmpl b/list.tmpl index a3f40ac..59b2ed4 100644 --- a/list.tmpl +++ b/list.tmpl @@ -6,8 +6,8 @@ {{$Refresh := .RefreshURLPath}}{{$PkgName := .PkgName}}{{range .Releases}} {{.Filename}}
+ #{{range $a, $d := .Digests}}{{$a}}={{$d}}{{end -}}" + {{- with .HasSig}} data-gpg-sig="true"{{end}}>{{.Filename}}
{{- end}} diff --git a/main.go b/main.go index da276a6..5131e58 100644 --- a/main.go +++ b/main.go @@ -44,7 +44,7 @@ import ( ) const ( - Version = "3.6.0" + Version = "3.7.0" UserAgent = "GoCheese/" + Version )