templates/profile.tmpl (view raw)
1{{ extends "base.tmpl" }} 2 3{{define "title" -}}User profile{{end}} 4 5{{define "content" -}} 6 <h1>Welcome, <i>{{.User.Username}}</i>!</h1> 7 <p>This page is only accessible by users who have logged in.</p> 8 <a href="/logout">Logout</a> 9{{end}}