Skip to content

Commit 06f00b1

Browse files
author
Oscar Löfwenhamn
committed
Make Ghost avatar not link to 404 page
1 parent 3edd91e commit 06f00b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/sidebar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
<span class="text"><strong>{{.i18n.Tr "repo.issues.num_participants" .NumParticipants}}</strong></span>
113113
<div>
114114
{{range .Participants}}
115-
<a href="{{.HomeLink}}">
115+
<a {{if gt .ID 0}}href="{{.HomeLink}}"{{end}}>
116116
<img class="ui avatar image poping up" src="{{.RelAvatarLink}}" data-content="{{.DisplayName}}" data-position="top center" data-variation="small inverted">
117117
</a>
118118
{{end}}

0 commit comments

Comments
 (0)