Registry search results: fix Fuse template (#2511)

This commit is contained in:
Patrice Chalin 2023-03-15 08:28:24 -04:00 committed by GitHub
parent 0680768f56
commit 3a002eb857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -142,7 +142,7 @@
.td-default, // E.g.: Homepage, Status, Search, 404; excludes navbar
.td-section main, .td-page main, // Doc and blog main content without left/right navs
.td-page-meta {
a:hover {
a:hover:not(.dropdown-item) {
text-decoration: underline;
}
}

View File

@ -90,10 +90,11 @@
</div>
{{- define "registry-entry" -}}
{{ $href := printf "href=%q" .repo | safeHTMLAttr -}}
<li class="registry-entry" data-registrytype="{{ .registryType }}" data-registrylanguage="{{ .language }}">
<div class="registry-entry-body">
<div class="h5">
<a href="{{ .repo }}" target="_blank" rel="noopener">
<a {{ $href }} target="_blank" rel="noopener">
{{- .title -}}
</a>
</div>