aboutsummaryrefslogtreecommitdiff
path: root/templates/root.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/root.tmpl')
-rw-r--r--templates/root.tmpl9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/root.tmpl b/templates/root.tmpl
index b1305f5..b04638b 100644
--- a/templates/root.tmpl
+++ b/templates/root.tmpl
@@ -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">
- <title>{{.Title}}</title>
+ <link rel="stylesheet" href="/static/style.css">
+ <title>{{.CommonData.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}}