diff --git a/cmd/version.go b/cmd/version.go index 39aff7e..8c31a1b 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/cobra" ) -var Version = "0.20.1" +var Version = "0.20.2" func init() { rootCmd.AddCommand(versionCmd) diff --git a/cmd/web.go b/cmd/web.go index 27b1f07..c050c34 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -76,11 +76,11 @@ func notFound(w http.ResponseWriter, r *http.Request) error { htmlBody := ` - + a{display:block;height:100%;width:100%;text-decoration:none;color:inherit;cursor:auto;} + </style> + <title> Not Found - + 404 page not found @@ -166,25 +166,26 @@ func serveHtml(w http.ResponseWriter, r *http.Request, filePath, dimensions stri htmlBody += fmt.Sprintf("%v (%v)", fileName, dimensions) htmlBody += ` - ` + +` switch { case Filter && Sort: - htmlBody += fmt.Sprintf(`