diff --git a/html/html.go b/html/html.go index 87ef1b9..1effe35 100644 --- a/html/html.go +++ b/html/html.go @@ -30,7 +30,7 @@ func FileListPage(req string, entries []Entry, big_preview_mode bool) string { linkSuffixToggle := "" linkSuffix := "" if big_preview_mode { - linkSuffixToggle = "" + linkSuffixToggle = "?big_preview=false" linkSuffix = "?big_preview=true" } else { linkSuffixToggle = "?big_preview=true" @@ -128,7 +128,7 @@ func FileListPage(req string, entries []Entry, big_preview_mode bool) string {
`, headerCSS1, headerCSS2, req, req) - footer := fmt.Sprintf(`

`, linkSuffixToggle) + footer := fmt.Sprintf(`
`, linkSuffixToggle) body := "" entriesWithParent := []Entry{}