Skip to content

Commit f9b3b76

Browse files
DOC-5396 allow TCEs to contain a subset of languages
1 parent addf760 commit f9b3b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/tabbed-clients-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{{ $language := index $example "language" }}
2323
{{ $quickstartSlug := index $clientConfig "quickstartSlug" }}
2424

25-
{{ if and ($example) (or (eq $lang "") (eq $lang $client)) }}
25+
{{ if and ($example) (or (eq $lang "") (strings.Contains $lang $client)) }}
2626
{{ $examplePath := index $example "target" }}
2727
{{ $options := printf "linenos=false" }}
2828

0 commit comments

Comments
 (0)