gitea/templates/shared/user/avatarlink.tmpl

2 lines
78 B
Handlebars

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