2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Docs: simplify a few Hugo ranges. (#29333)

This commit is contained in:
XhmikosR
2019-09-02 12:31:02 +03:00
committed by GitHub
parent edf7923c8f
commit 6f1eb110e7
3 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -438,8 +438,8 @@ Responsive variations also exist for `order`.
{{< markdown >}}
{{< flex.inline >}}
{{- range $bp := $.Site.Data.breakpoints -}}
{{- range $i, $num := seq 0 5 }}
- `.order{{ $bp.abbr }}-{{ $i }}`
{{- range (seq 0 5) }}
- `.order{{ $bp.abbr }}-{{ . }}`
{{- end -}}
{{- end -}}
{{< /flex.inline >}}
@@ -450,8 +450,8 @@ Additionally there are also responsive `.order-first` and `.order-last` classes
{{< markdown >}}
{{< flex.inline >}}
{{- range $bp := $.Site.Data.breakpoints -}}
{{- range $i := slice "first" "last" }}
- `.order{{ $bp.abbr }}-{{ $i }}`
{{- range (slice "first" "last") }}
- `.order{{ $bp.abbr }}-{{ . }}`
{{- end -}}
{{- end -}}
{{< /flex.inline >}}