diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 7bf4ee4a8e..53b7a364b2 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -9,7 +9,9 @@
{{$description := .Repository.DescriptionHTML $.Context}} {{if $description}}{{$description | RenderCodeBlock}}{{else}}{{ctx.Locale.Tr "repo.no_desc"}}{{end}} - {{if .Repository.Website}}{{.Repository.Website}}{{end}} + {{if .Repository.Website}} + {{svg "octicon-globe"}} {{.Repository.Website}} + {{end}}
diff --git a/web_src/css/repo.css b/web_src/css/repo.css index dd7e2754b5..ddd90c82d7 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -3017,3 +3017,7 @@ tbody.commit-list { #repo-activity-top-authors-chart { height: 150px; /* Pre-allocate the height that will be taken up by the chart, to avoid the container 'jumping'. */ } + +.no-description { + color: var(--color-text-light-3); +}