summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/layouts/baseof.html18
-rw-r--r--frontend/layouts/home.html3
2 files changed, 21 insertions, 0 deletions
diff --git a/frontend/layouts/baseof.html b/frontend/layouts/baseof.html
new file mode 100644
index 0000000..23f39e3
--- /dev/null
+++ b/frontend/layouts/baseof.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>{{ block "title" . }}finserv{{ end }}</title>
+ <meta charset="utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+ </head>
+
+ <body>
+ <header>{{ block "header" . }}
+ <h1>finserv</h1>
+ {{ end }}</header>
+ <main>{{ block "main" . }}{{ end }}</main>
+ <footer>{{ block "footer" . }}
+ <p>finserv</p>
+ {{ end }}</footer>
+ </body>
+</html>
diff --git a/frontend/layouts/home.html b/frontend/layouts/home.html
new file mode 100644
index 0000000..70028a8
--- /dev/null
+++ b/frontend/layouts/home.html
@@ -0,0 +1,3 @@
+{{ define "main" }}
+ <p>Hello world!</p>
+ {{ end }}