gitea/templates/shared/user/name.tmpl

6 lines
183 B
Handlebars

{{if .FullName}}
{{.FullName}} <span>(<a class="text primary" href="{{.HomeLink}}">{{.Name}}</a>)</span>
{{else}}
<a class="text primary" href="{{.HomeLink}}">{{.Name}}</a>
{{end}}