summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2020-01-28 21:18:50 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2020-01-28 21:18:50 -0500
commit94cbd545217d85f6e975131ee70a26194b7fdb3c (patch)
tree36e788b6554662db8e2fdcfd9358d9afc6d57384 /templates
Initial rocket app framework
Diffstat (limited to 'templates')
-rw-r--r--templates/index.hbs5
-rw-r--r--templates/layout.hbs10
2 files changed, 15 insertions, 0 deletions
diff --git a/templates/index.hbs b/templates/index.hbs
new file mode 100644
index 0000000..f61c517
--- /dev/null
+++ b/templates/index.hbs
@@ -0,0 +1,5 @@
+{{#*inline "page"}}
+<p>Message: {{ message }}</p>
+<p><a href="/link_strava">Link strava account</a></p>
+{{/inline}}
+{{~> (parent)~}}
diff --git a/templates/layout.hbs b/templates/layout.hbs
new file mode 100644
index 0000000..b8de618
--- /dev/null
+++ b/templates/layout.hbs
@@ -0,0 +1,10 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <title>PJ {{ title }}</title>
+ </head>
+
+ <body>
+ {{ ~> page }}
+ </body>
+</html>