diff --git a/site/content/docs/4.3/content/tables.md b/site/content/docs/4.3/content/tables.md index c79cb81d2c..e508d517d6 100644 --- a/site/content/docs/4.3/content/tables.md +++ b/site/content/docs/4.3/content/tables.md @@ -770,10 +770,10 @@ Use `.table-responsive{-sm|-md|-lg|-xl}` as needed to create responsive tables u **These tables may appear broken until their responsive styles apply at specific viewport widths.** {{< tables.inline >}} -{{ range $bp := $.Site.Data.breakpoints }} -{{ if not (eq $bp "xs") }} +{{ range $.Site.Data.breakpoints }} +{{ if not (eq . "xs") }}
-
+
@@ -832,9 +832,9 @@ Use `.table-responsive{-sm|-md|-lg|-xl}` as needed to create responsive tables u {{< highlight html >}} {{< tables.inline >}} -{{- range $bp := $.Site.Data.breakpoints -}} -{{- if not (eq $bp "xs") }} -
+{{- range $.Site.Data.breakpoints -}} +{{- if not (eq . "xs") }} +
...
diff --git a/site/content/docs/4.3/utilities/flex.md b/site/content/docs/4.3/utilities/flex.md index 948dfe0610..9ce4f27c5d 100644 --- a/site/content/docs/4.3/utilities/flex.md +++ b/site/content/docs/4.3/utilities/flex.md @@ -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 >}} diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html index bea1d9416a..a13cccca4c 100644 --- a/site/layouts/shortcodes/example.html +++ b/site/layouts/shortcodes/example.html @@ -28,7 +28,7 @@ {{- $modified_content = replace $modified_content "\n" "✂️" -}} {{- $modified_content = split $modified_content "✂️" -}} - {{- range $i, $content_chunk := $modified_content -}} + {{- range $content_chunk := $modified_content -}} {{- $image_class := "" -}} {{- if (strings.Contains $content_chunk `