Skip to content

Commit

Permalink
firstparty flag
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorhelene authored and svrnm committed Nov 11, 2024
1 parent 23a203d commit b9a1e1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/ecosystem/registry/entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
{{ $flags = $flags | append "native" -}}
{{ end -}}
{{ if $isFirstParty -}}
{{ $flags = $flags | append "first party" -}}
{{ $flags = $flags | append "firstparty" -}}
{{ end -}}
{{ if $usedInDemo -}} <!-- Check if the entry was used in a demo -->
{{ $flags = $flags | append "used in demo" -}}
Expand Down
3 changes: 2 additions & 1 deletion layouts/shortcodes/ecosystem/registry/search-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{{ $flags = $flags | append "native" -}}
{{ end -}}
{{ if .isFirstParty -}}
{{ $flags = $flags | append "first party" -}}
{{ $flags = $flags | append "firstparty" -}}
{{ end -}}
{{ if .isNew -}}
{{ $flags = $flags | append "new" -}}
Expand All @@ -66,6 +66,7 @@
{{ end -}}
{{ $uniqueFlags := $allFlags | uniq | sort }}

{{ printf "Unique Flags: %v" $uniqueFlags }}

<div class="alert alert-info">
The OpenTelemetry Registry allows you to search for instrumentation libraries,
Expand Down

0 comments on commit b9a1e1d

Please sign in to comment.