rewrite #1

Merged
vx-clutch merged 9 commits from rewrite into main 2026-01-19 16:17:56 -05:00
2 changed files with 2 additions and 13 deletions
Showing only changes of commit 81ab5b252b - Show all commits

View File

@@ -71,18 +71,7 @@ func generateArchiveIndex(fsPath string, urlPath string) (string, error) {
b.WriteString("</title></head>\n<body>\n<h1>Index of ")
b.WriteString(template.HTMLEscapeString(urlPath))
b.WriteString("</h1><hr><pre>")
if urlPath != "/" {
b.WriteString(
`<a href="/archive` +
template.HTMLEscapeString(path.Dir(strings.TrimSuffix(urlPath, "/"))) +
`">../</a>` + "\n",
)
} else {
b.WriteString(
`<a href="/">../</a>` + "\n",
)
}
b.WriteString("<a href=\"../\">../</a>\n")
nameCol := 50
for _, ei := range list {

View File

@@ -9,7 +9,7 @@ var gitCommit string = "devel"
const PROGRAM_NAME string = "fes"
const PROGRAM_NAME_LONG string = "fes/fSD"
const VERSION string = "1.0.0"
const VERSION string = "1.0.1"
func Version() {
fmt.Printf("%s version %s\n", PROGRAM_NAME_LONG, VERSION)