Skip to content

Commit bcd14dd

Browse files
DOC-4289 try renaming data-lang for CLI
1 parent 8478c69 commit bcd14dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

layouts/partials/tabs/wrapper.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
{{ range $i, $tab := $tabs }}
1313
{{ $tid := printf "%s_%s" (replace (replace (index $tab "title") "#" "sharp") "." "") $id }}
1414
{{ $pid := printf "panel_%s" $tid }}
15-
<input tabindex="1" type="radio" name="{{ $id }}" id="{{ $tid }}" data-lang="{{ replace (index $tab "language") "C#" "dotnet" }}" class="radiotab w-0 h-0"
15+
{{ $dataLang := replace (or (index $tab "language") "redis-cli") "C#" "dotnet" }}
16+
<input tabindex="1" type="radio" name="{{ $id }}" id="{{ $tid }}" data-lang="{{ $dataLang }}" class="radiotab w-0 h-0"
1617
{{ if eq $i 0 }}checked{{ end }}
1718
/>
1819
<label class="justify-left label ml-4 pt-3.5 px-3 pb-1 cursor-pointer text-sm text-center bg-redis-ink-900

0 commit comments

Comments
 (0)