]> Cypherpunks.ru repositories - gocheese.git/blobdiff - list.tmpl
Fix data-gpg-sig attribute rendering
[gocheese.git] / list.tmpl
index a3f40ac4bc66ae740fe6743e9fb730b945fce082..59b2ed48bac56e7d2fc38f4f01000c873bce7cac 100644 (file)
--- a/list.tmpl
+++ b/list.tmpl
@@ -6,8 +6,8 @@
   </head>
   <body>{{$Refresh := .RefreshURLPath}}{{$PkgName := .PkgName}}{{range .Releases}}
     <a href="{{$Refresh}}{{$PkgName}}/{{.Filename -}}
-        #{{range $a, $d := .Digests}}{{$a}}={{$d}}{{end -}}
-        {{with .HasSig}} data-gpg-sig=true{{end}}">{{.Filename}}</a><br/>
+        #{{range $a, $d := .Digests}}{{$a}}={{$d}}{{end -}}"
+        {{- with .HasSig}} data-gpg-sig="true"{{end}}>{{.Filename}}</a><br/>
 {{- end}}
   </body>
 </html>