Add landing page for kjol, documentation
This commit is contained in:
@@ -32,4 +32,10 @@ func main() {
|
||||
} else {
|
||||
wasmruntime.Run(render) // client-rendered route
|
||||
}
|
||||
|
||||
// Adopt the theme AFTER mounting. The class is already on <html> — the document's
|
||||
// boot script put it there before the first paint — so this is not what makes the
|
||||
// page dark; it is what makes the SWITCH know which way it is pointing, and what
|
||||
// keeps the page following the OS if the user never touched the switch.
|
||||
app.Theme.Init()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user