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:
@@ -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" -}}
|
||||
|
Reference in New Issue
Block a user