Closed andrewmoise closed 5 months ago
Hey, thank you. I'm looking at this now.
It looks like you're exactly right. I have no excuse. I probably just missed this when I was moving some things around, and then didn't notice it because it didn't show up in the UI.
We can also remove the "footer" too, for the same reasons, that simplifies this function even further.
I've just pushed a fix to dev that'll get included when I do another release to main. This should be pretty soon, because I've stacked up a bunch of changes since the last one :)
okay to close this?
Yeah, fine for me
Hey there -- so in looking at the HTML generated for some pages on the setup server, it looks like the header is included twice:
_embed/setup/index.html
via{{template "_header.html" "index"}}
handler/setup_server.go
bySetupPageGet()
ifuseWrapper
is setI solved the problem for me by just removing this code from
SetupPageGet()
entirely:... but I didn't understand the issues involved fully, so maybe it'd be better to remove it from the template side instead, or maybe there's a more sophisticated fix needed. But in any case, removing that code made it work for me on the limited number of pages I checked.