feat: make previews 2x bigger
This commit is contained in:
parent
2ca7c55123
commit
0d11b65481
@ -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 {
|
||||
<body>
|
||||
<div id="content"><img src="/assets/images/leech.png" id="leech"></img>`, headerCSS1, headerCSS2, req, req)
|
||||
|
||||
footer := fmt.Sprintf(`</div><br><div id="footer"><a id="toggle-big-preview-link" href="./%s">Toggle big preview mode.</a><br><br>powered by leech. ontake. 2024.</div></body></html>`, linkSuffixToggle)
|
||||
footer := fmt.Sprintf(`</div><br><div id="footer"><a id="toggle-big-preview-link" href="%s">Toggle big preview mode.</a><br><br>powered by leech. ontake. 2024.</div></body></html>`, linkSuffixToggle)
|
||||
|
||||
body := ""
|
||||
entriesWithParent := []Entry{}
|
||||
|
Loading…
Reference in New Issue
Block a user