aboutsummaryrefslogtreecommitdiff
path: root/templates/root.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-02-18 22:15:37 +0000
committerr <r@freesoftwareextremist.com>2020-02-18 22:15:37 +0000
commitfe31d4197b66cced9ca84779fac4fe69242d844b (patch)
tree775e8e76eddb3e86d4515369b9615d3c3a5bc762 /templates/root.tmpl
parent39a3bb7f3566ca0b7020d10abd5d5815096b49cb (diff)
downloadbloat-fe31d4197b66cced9ca84779fac4fe69242d844b.tar.gz
bloat-fe31d4197b66cced9ca84779fac4fe69242d844b.zip
Add frame based navigation
Diffstat (limited to 'templates/root.tmpl')
-rw-r--r--templates/root.tmpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/root.tmpl b/templates/root.tmpl
new file mode 100644
index 0000000..cd33139
--- /dev/null
+++ b/templates/root.tmpl
@@ -0,0 +1,17 @@
+{{with .Data}}
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset='utf-8'>
+ <meta content='width=device-width, initial-scale=1' name='viewport'>
+ <title>{{.Title}}</title>
+</head>
+<frameset cols="30%,*">
+ <frameset rows="316px,*">
+ <frame name="nav" class="nav-frame" src="/nav" />
+ <frame name="notification" class="notification-frame" src="/notifications" />
+ </frameset>
+ <frame name="main" class="main-frame" src="/timeline/home" />
+</frameset>
+</html>
+{{end}}