gitea/templates/shared/user/namelink.tmpl

2 lines
70 B
Handlebars

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