11 lines
244 B
HTML
11 lines
244 B
HTML
{{ define "index" }}
|
|
{{ template "header" .}}
|
|
{{if .LoggedIn }}
|
|
<p><a href="/token">Get Token</a></p>
|
|
{{else}}
|
|
<p><a href="/register">Register</a></p>
|
|
<p><a href="/passwordreset">Reset Password</a></p>
|
|
{{end}}
|
|
{{template "footer" .}}
|
|
{{ end }}
|