From b1860eca057429df834de2afeeb90046864cbec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 5 Feb 2019 21:59:01 +0200 Subject: [PATCH] Simplify browser bugs inline shortcode --- site/content/docs/4.3/browser-bugs.md | 34 +++++++-------------------- 1 file 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 70b26cf3e8..0607a91fde 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" -}} - - + + - {{< bug.inline >}} {{- range (index $.Site.Data $data) }} @@ -34,9 +37,9 @@ See also: {{- end }} - {{< /bug.inline >}}
Browser(s)Summary of bugUpstream bug(s)Summary of {{ $type }}Upstream issue(s) Bootstrap issue(s)
{{ .browser | chomp }}{{ partial "bugify" .origin }}
+ {{< /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. - - - - - - - - - - - {{< feat.inline >}} - {{ range (index $.Site.Data "browser-features") }} - - - - - - - {{ end }} - {{< /feat.inline >}} - -
Browser(s)Summary of featureUpstream issue(s)Bootstrap issue(s)
{{ .browser }}{{ .summary | markdownify }}{{ partial "bugify" .upstream_bug }}{{ partial "bugify" .origin }}
+{{< bug.inline data="browser-features" type="feature" />}}