Skip to content

Commit

Permalink
should be able to display with capitals, but easier to set things in …
Browse files Browse the repository at this point in the history
…URL with a lowercase convention.
  • Loading branch information
titusfortner committed Aug 29, 2022
1 parent 52c1ba3 commit 83b6e64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/shortcodes/tabpane.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
{{- end -}}

<!-- Replace space and +, not valid for css selectors -->
{{- $lang := replaceRE "[\\s+]" "-" $lang -}}
<!-- Lowercase for consistency -->
{{- $lang := lower (replaceRE "[\\s+]" "-" $lang) -}}

<li class="nav-item{{ if $rightpush }} ml-auto{{ end }}">
<!-- Generate the IDs for the <a> and the <div> elements -->
Expand Down

0 comments on commit 83b6e64

Please sign in to comment.