2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +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
+6 -6
View File
@@ -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") }}
<div class="bd-example">
<div class="table-responsive{{ $bp.abbr }}">
<div class="table-responsive{{ .abbr }}">
<table class="table">
<thead>
<tr>
@@ -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") }}
<div class="table-responsive{{ $bp.abbr }}">
{{- range $.Site.Data.breakpoints -}}
{{- if not (eq . "xs") }}
<div class="table-responsive{{ .abbr }}">
<table class="table">
...
</table>