mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-21 20:29:20 +02:00
Load CSS on the root page
This applies the background color to the root page and avoids flicker during the initial page load.
This commit is contained in:
parent
426e9ad14f
commit
461908e031
|
@ -1,4 +1,4 @@
|
|||
body {
|
||||
frame, body {
|
||||
background-color: #d2d2d2;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,14 +4,15 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<link rel="icon" type="image/png" href="/static/favicon.png">
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
<title>{{.Title}}</title>
|
||||
</head>
|
||||
<frameset cols="424px,*">
|
||||
<frameset rows="316px,*">
|
||||
<frame name="nav" src="/nav">
|
||||
<frame name="notification" src="/notifications">
|
||||
<frame name="nav" src="/nav" {{if $.Ctx.DarkMode}}class="dark"{{end}}>
|
||||
<frame name="notification" src="/notifications" {{if $.Ctx.DarkMode}}class="dark"{{end}}>
|
||||
</frameset>
|
||||
<frame name="main" src="/timeline/home">
|
||||
<frame name="main" src="/timeline/home" {{if $.Ctx.DarkMode}}class="dark"{{end}}>
|
||||
</frameset>
|
||||
</html>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue