summaryrefslogtreecommitdiff
path: root/got/template.html.got
diff options
context:
space:
mode:
Diffstat (limited to 'got/template.html.got')
-rw-r--r--got/template.html.got31
1 files changed, 0 insertions, 31 deletions
diff --git a/got/template.html.got b/got/template.html.got
deleted file mode 100644
index ab9e633..0000000
--- a/got/template.html.got
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <!-- the meta tags must come first -->
-
- <title>{{.title | html}}</title>
-
- <link href="/style.css" rel="stylesheet">
- {{.head}}
- </head>
- <body>
- <header>
- {{if eq .userid ""}}
- <p>You are not logged in</p>
- {{else}}
- <p>You are logged in as {{.session.userid | html}}</p>
- <form action="/session" method="POST">
- <input type="hidden" name="_method" value="DELETE" />
- <input type="hidden" name="_xsrf_token" value="{{.session.id | html}}" />
- <input type="submit" value="Log out" />
- </form>
- {{endif}}
- </header>
- <article>
- {{.body}}
- </article>
- </body>
-</html>