guildgate/templates/index.html

13 lines
336 B
HTML

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