aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2019-02-05 21:59:01 +0200
committerXhmikosR <[email protected]>2019-03-13 19:22:59 +0200
commitb1860eca057429df834de2afeeb90046864cbec3 (patch)
tree9082677e62962eef0e6e0487048bdd2a832bd7b2
parent142af24018102b7b86566f46b0cfa121785b879e (diff)
downloadbootstrap-b1860eca057429df834de2afeeb90046864cbec3.tar.xz
bootstrap-b1860eca057429df834de2afeeb90046864cbec3.zip
Simplify browser bugs inline shortcode
-rw-r--r--site/content/docs/4.3/browser-bugs.md34
1 files changed, 8 insertions, 26 deletions
diff --git a/site/content/docs/4.3/browser-bugs.md b/site/content/docs/4.3/browser-bugs.md
index 70b26cf3e..0607a91fd 100644
--- a/site/content/docs/4.3/browser-bugs.md
+++ b/site/content/docs/4.3/browser-bugs.md
@@ -15,17 +15,20 @@ See also:
* [Mozilla bug 1230801: Fix the issues that affect Bootstrap](https://bugzilla.mozilla.org/show_bug.cgi?id=1230801)
* [WebKit bug 159753: [meta] Issues affecting Bootstrap](https://bugs.webkit.org/show_bug.cgi?id=159753)
+
+{{< bug.inline >}}
+{{- $type := .Get "type" | default "bug" -}}
+{{- $data := .Get "data" | default "browser-bugs" -}}
<table class="bd-browser-bugs table table-bordered table-hover">
<thead>
<tr>
<th>Browser(s)</th>
- <th>Summary of bug</th>
- <th>Upstream bug(s)</th>
+ <th>Summary of {{ $type }}</th>
+ <th>Upstream issue(s)</th>
<th>Bootstrap issue(s)</th>
</tr>
</thead>
<tbody>
- {{< bug.inline >}}
{{- range (index $.Site.Data $data) }}
<tr>
<td>{{ .browser | chomp }}</td>
@@ -34,9 +37,9 @@ See also:
<td>{{ partial "bugify" .origin }}</td>
</tr>
{{- end }}
- {{< /bug.inline >}}
</tbody>
</table>
+ {{< /bug.inline >}}
# Most wanted features
@@ -44,25 +47,4 @@ There are several features specified in Web standards which would allow us to ma
We publicly list these "most wanted" feature requests here, in the hopes of expediting the process of getting them implemented.
-<table class="bd-browser-bugs table table-bordered table-hover">
- <thead>
- <tr>
- <th>Browser(s)</th>
- <th>Summary of feature</th>
- <th>Upstream issue(s)</th>
- <th>Bootstrap issue(s)</th>
- </tr>
- </thead>
- <tbody>
- {{< feat.inline >}}
- {{ range (index $.Site.Data "browser-features") }}
- <tr>
- <td>{{ .browser }}</td>
- <td>{{ .summary | markdownify }}</td>
- <td>{{ partial "bugify" .upstream_bug }}</td>
- <td>{{ partial "bugify" .origin }}</td>
- </tr>
- {{ end }}
- {{< /feat.inline >}}
- </tbody>
-</table>
+{{< bug.inline data="browser-features" type="feature" />}}