Slight formatting change to HTML output, for consistency's sake

This commit is contained in:
Seednode 2022-10-28 19:18:34 -05:00
parent 5c7bb60dcb
commit 920bdb2615
2 changed files with 11 additions and 10 deletions

View File

@ -10,7 +10,7 @@ import (
"github.com/spf13/cobra"
)
var Version = "0.20.1"
var Version = "0.20.2"
func init() {
rootCmd.AddCommand(versionCmd)

View File

@ -166,7 +166,8 @@ func serveHtml(w http.ResponseWriter, r *http.Request, filePath, dimensions stri
htmlBody += fmt.Sprintf("%v (%v)", fileName, dimensions)
htmlBody += `</title>
</head>
<body>`
<body>
`
switch {
case Filter && Sort:
htmlBody += fmt.Sprintf(` <a href="/?include=%v&exclude=%v&sort=%v"><img src="`,