guildgate/templates/index.html
2020-09-24 17:12:22 -04:00

12 lines
287 B
HTML

{{ define "index" }}
{{ template "header" .}}
{{if .LoggedIn }}
<p><a href="/token">Get Token</a></p>
<p><a href="/profile/view">Profile</a></p>
{{else}}
<p><a href="/register">Register</a></p>
<p><a href="/passwordreset">Reset Password</a></p>
{{end}}
{{template "footer" .}}
{{ end }}