forgejo-federation/templates/shared/user/avatarlink.tmpl

2 lines
108 B
Go HTML Template
Raw Permalink Normal View History

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