guildgate/templates/index.html

10 lines
193 B
HTML

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