aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/base.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..67bc7b6
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,26 @@
+{{- define "base" -}}
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="stylesheet" href="/static/style.css" />
+ <title>{{ block "title" . }}Lindenii Forge{{ end }}</title>
+ </head>
+ <body class="{{ block "body-class" . }}{{ end }}">
+ <header>
+ <a id="site-title" href="/">
+ {{ block "forge-title" . }}
+ Lindenii Forge
+ {{ end }}
+ </a>
+ <span id="header-userinfo" href="/">
+ </span>
+ </header>
+ <main>
+ {{ block "main" . }}
+ {{ end }}
+ </main>
+ </body>
+</html>
+{{- end -}}