mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-29 08:10:47 +02:00
Improve front matter "added" params
Add missing ones and add the ability to show or hide the badge Fixes a few more 404 errors in the version picker
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
{{- $versions_link = printf "%s/" $page_slug -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- $added_in_51 := eq (string .Page.Params.added) "5.1" -}}
|
||||
{{- $added_in_52 := eq (string .Page.Params.added) "5.2" -}}
|
||||
{{- $added_in_53 := eq (string .Page.Params.added) "5.3" -}}
|
||||
{{- $added_in_51 := eq (string .Page.Params.added.version) "5.1" -}}
|
||||
{{- $added_in_52 := eq (string .Page.Params.added.version) "5.2" -}}
|
||||
{{- $added_in_53 := eq (string .Page.Params.added.version) "5.3" -}}
|
||||
|
||||
<li class="nav-item dropdown">
|
||||
<button type="button" class="btn btn-link nav-link py-2 px-0 px-lg-2 dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" data-bs-display="static">
|
||||
|
Reference in New Issue
Block a user