Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
{{define "content"}}
<tr valign="top">
<td><img src="{{ .user.Avatar 128 }}"></td>
<h1>User: {{ .user.Username }}</h1>
{{ if .user.AboutMe }}
<p>{{ .user.AboutMe }}</p>
{{ end }}
{{ if .user.LastSeen }}
<p>Last seen on: {{ .user.LastSeen }}</p>
{{ end }}
{{ if eq .current_user.Username .user.Username }}
<p><a href="/edit_profile">Edit your profile</a></p>
{{ end }}
{{ template "posts" .posts }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment