2020-09-17 16:19:05 -04:00
|
|
|
{{ define "index" }}
|
|
|
|
{{ template "header" .}}
|
2020-09-22 14:00:43 -04:00
|
|
|
{{if .LoggedIn }}
|
2020-09-17 16:47:17 -04:00
|
|
|
<p><a href="/token">Get Token</a></p>
|
2020-09-24 16:39:52 -04:00
|
|
|
<p><a href="/profile">Profile</a></p>
|
2020-09-22 14:00:43 -04:00
|
|
|
{{else}}
|
|
|
|
<p><a href="/register">Register</a></p>
|
2020-09-22 18:21:01 -04:00
|
|
|
<p><a href="/passwordreset">Reset Password</a></p>
|
2020-09-22 14:00:43 -04:00
|
|
|
{{end}}
|
2020-09-17 16:19:05 -04:00
|
|
|
{{template "footer" .}}
|
|
|
|
{{ end }}
|