forgejo/templates/shared/user/avatarlink.tmpl

1 line
102 B
Handlebars

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