Skip to content

Commit b58496a

Browse files
olamideTianasvrnm
andauthored
add tags to registry entries (#5382)
Signed-off-by: svrnm <[email protected]> Co-authored-by: Severin Neumann <[email protected]>
1 parent 43fa411 commit b58496a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

layouts/partials/ecosystem/registry/entry.html

+13
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,19 @@ <h4 class="alert-heading">Deprecated</h4>
157157
{{ end -}}
158158
{{- .description | markdownify -}}
159159
</div>
160+
161+
<!-- New Tags section -->
162+
<div class="tags mb-2">
163+
{{ if .tags }}
164+
<div>
165+
{{ range .tags }}
166+
{{ $tag := . }} <!-- Store the tag in a variable -->
167+
<a href="/ecosystem/registry/?s={{ $tag | urlize }}" class="badge bg-light me-1">{{ $tag }}</a>
168+
{{ end }}
169+
</div>
170+
{{ end }}
171+
</div>
172+
160173
{{ with $package -}}
161174
{{ if not (eq .quickInstall false) }}
162175
<h6><i class="fa-solid fa-forward"></i> Quick Install</h6>

0 commit comments

Comments
 (0)