Skip to content

Commit 8971ddd

Browse files
titusfortnergeriom
authored andcommitted
should be able to display with capitals, but easier to set things in URL with a lowercase convention.
1 parent 739ea71 commit 8971ddd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

layouts/shortcodes/tabpane.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
{{- end -}}
6060

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

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

0 commit comments

Comments
 (0)