1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

Minor template cleanup

This commit is contained in:
XhmikosR
2024-03-03 07:58:52 +02:00
parent b0ce89229b
commit e16ee0a191
3 changed files with 12 additions and 9 deletions

View File

@@ -6,9 +6,9 @@
{{- $versions_link := "" -}}
{{- if and (eq .Layout "docs") (eq $page_version .Site.Params.docs_version) -}}
{{- $versions_link = printf "%s/%s/" $group_slug $page_slug -}}
{{- else if (eq .Layout "single") }}
{{- else if (eq .Layout "single") -}}
{{- $versions_link = printf "%s/" $page_slug -}}
{{- end }}
{{- end -}}
{{- $added_in_51 := eq (string .Page.Params.added) "5.1" -}}
{{- $added_in_52 := eq (string .Page.Params.added) "5.2" -}}