forgejo/templates/shared/user/avatarlink.tmpl

1 line
102 B
Go HTML Template

<a class="avatar"{{if gt .user.ID 0}} href="{{.user.HomeLink}}"{{end}}>{{avatar $.Context .user}}</a>