diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.hbs | 5 | ||||
-rw-r--r-- | templates/layout.hbs | 10 |
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> |