fix: remove double .Repo reference in pinned repos template
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<div class="content">
|
||||
<div class="header tw-flex tw-items-center tw-gap-2">
|
||||
{{if .Repo.Avatar}}
|
||||
<img class="tw-max-w-20 tw-max-h-20 tw-rounded tw-object-contain" src="{{.Repo.Repo.RelAvatarLink ctx}}" alt="">
|
||||
<img class="tw-max-w-20 tw-max-h-20 tw-rounded tw-object-contain" src="{{.Repo.RelAvatarLink ctx}}" alt="">
|
||||
{{else}}
|
||||
{{if .Repo.IsPrivate}}{{svg "octicon-lock" 16}}{{else if .Repo.IsFork}}{{svg "octicon-repo-forked" 16}}{{else if .Repo.IsMirror}}{{svg "octicon-mirror" 16}}{{else}}{{svg "octicon-repo" 16}}{{end}}
|
||||
{{end}}
|
||||
@@ -78,7 +78,7 @@
|
||||
<div class="content">
|
||||
<div class="header tw-flex tw-items-center tw-gap-2">
|
||||
{{if .Repo.Avatar}}
|
||||
<img class="tw-max-w-20 tw-max-h-20 tw-rounded tw-object-contain" src="{{.Repo.Repo.RelAvatarLink ctx}}" alt="">
|
||||
<img class="tw-max-w-20 tw-max-h-20 tw-rounded tw-object-contain" src="{{.Repo.RelAvatarLink ctx}}" alt="">
|
||||
{{else}}
|
||||
{{if .Repo.IsPrivate}}{{svg "octicon-lock" 16}}{{else if .Repo.IsFork}}{{svg "octicon-repo-forked" 16}}{{else if .Repo.IsMirror}}{{svg "octicon-mirror" 16}}{{else}}{{svg "octicon-repo" 16}}{{end}}
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user