Add an icon to link
This commit is contained in:
parent
a83358d5bd
commit
8959f650f9
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@
|
|||
<div id="repo-desc" class="tw-break-anywhere tw-text-16">
|
||||
{{$description := .Repository.DescriptionHTML $.Context}}
|
||||
{{if $description}}<span class="description">{{$description | RenderCodeBlock}}</span>{{else}}<span class="no-description text-italic">{{ctx.Locale.Tr "repo.no_desc"}}</span>{{end}}
|
||||
{{if .Repository.Website}}<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>{{end}}
|
||||
{{if .Repository.Website}}
|
||||
<a class="link tw-mt-1 tw-flex tw-items-center tw-gap-1" href="{{.Repository.Website}}">{{svg "octicon-globe"}} {{.Repository.Website}}</a>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="tw-flex tw-items-center tw-flex-wrap tw-gap-2 tw-my-2" id="repo-topics">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue