2023-10-11 00:24:07 -04:00
|
|
|
{{$avatarLink := (.RelAvatarLink ctx)}}
|
2023-08-28 10:14:51 -04:00
|
|
|
{{if $avatarLink}}
|
|
|
|
<img class="ui avatar gt-vm" src="{{$avatarLink}}" width="32" height="32" alt="{{.FullName}}">
|
|
|
|
{{else if $.IsMirror}}
|
|
|
|
{{svg "octicon-mirror" 32}}
|
|
|
|
{{else if $.IsFork}}
|
|
|
|
{{svg "octicon-repo-forked" 32}}
|
|
|
|
{{else}}
|
|
|
|
{{svg "octicon-repo" 32}}
|
|
|
|
{{end}}
|