Skip to content

Commit

Permalink
Registry search results: fix Fuse template (#2511)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Mar 15, 2023
1 parent 0680768 commit 3a002eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
3 changes: 2 additions & 1 deletion layouts/shortcodes/registry-search-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 3a002eb

Please sign in to comment.