Skip to content

Commit 8be47b6

Browse files
author
Martin Cervenka
committed
[repolist.go] Add icon to signify external links
Closes #53 The icons are simply added using unicode character sequences.
1 parent a31521c commit 8be47b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/resources/templates/repolist.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const RepoList = `
2626
</div>
2727
</div>
2828
<p class="has-emoji">{{.Description}}</p>
29-
<a href="{{.HTMLURL}}">Repository on GIN</a> | <a href="{{.HTMLURL}}/settings/hooks">Repository hooks</a>
29+
<a href="{{.HTMLURL}}">&#128279; Repository on GIN</a> | <a href="{{.HTMLURL}}/settings/hooks">&#128279; Repository hooks</a>
3030
</div>
3131
</div>
3232
</div>
@@ -45,7 +45,7 @@ const RepoList = `
4545
<a class="name" href="/repos/{{$repopath}}/hooks">{{$repopath}}</a>
4646
</div>
4747
<p class="has-emoji">{{.Description}}</p>
48-
<a href="{{.HTMLURL}}">Repository on GIN</a> | <a href="{{.HTMLURL}}/settings/hooks">Repository hooks</a>
48+
<a href="{{.HTMLURL}}">&#128279; Repository on GIN</a> | <a href="{{.HTMLURL}}/settings/hooks">&#128279; Repository hooks</a>
4949
</div>
5050
</div>
5151
</div>

0 commit comments

Comments
 (0)