Skip to content

Commit

Permalink
add tags to registry entries (open-telemetry#5382)
Browse files Browse the repository at this point in the history
Signed-off-by: svrnm <[email protected]>
Co-authored-by: Severin Neumann <[email protected]>
  • Loading branch information
2 people authored and ymotongpoo committed Jan 2, 2025
1 parent 59bc55b commit 46f2e7d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions layouts/partials/ecosystem/registry/entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,19 @@ <h4 class="alert-heading">Deprecated</h4>
{{ end -}}
{{- .description | markdownify -}}
</div>

<!-- New Tags section -->
<div class="tags mb-2">
{{ if .tags }}
<div>
{{ range .tags }}
{{ $tag := . }} <!-- Store the tag in a variable -->
<a href="/ecosystem/registry/?s={{ $tag | urlize }}" class="badge bg-light me-1">{{ $tag }}</a>
{{ end }}
</div>
{{ end }}
</div>

{{ with $package -}}
{{ if not (eq .quickInstall false) }}
<h6><i class="fa-solid fa-forward"></i> Quick Install</h6>
Expand Down

0 comments on commit 46f2e7d

Please sign in to comment.