gitea/templates/shared/user/avatarlink.tmpl

4 lines
81 B
Handlebars

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