Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-02-05 14:39:30 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-03-13 20:22:59 +0300
commit69e18b9634d5881372255f20dcaf65e24f6b6b76 (patch)
tree1b5ebe8ad6ea717c0da8f02058ef7a52b9d52965 /site
parent04a58887cd27e17e5467c379ac12c97186fce6b0 (diff)
Fix bugify.
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/4.3/browser-bugs.md8
-rw-r--r--site/layouts/partials/bugify.html (renamed from site/layouts/shortcodes/bugify.html)2
2 files changed, 5 insertions, 5 deletions
diff --git a/site/content/docs/4.3/browser-bugs.md b/site/content/docs/4.3/browser-bugs.md
index c464f8507d..70b26cf3e8 100644
--- a/site/content/docs/4.3/browser-bugs.md
+++ b/site/content/docs/4.3/browser-bugs.md
@@ -30,8 +30,8 @@ See also:
<tr>
<td>{{ .browser | chomp }}</td>
<td>{{ .summary | markdownify }}</td>
- <td>{% include bugify.html content=bug.upstream_bug %}</td>
- <td>{% include bugify.html content=bug.origin %}</td>
+ <td>{{ partial "bugify" .upstream_bug }}</td>
+ <td>{{ partial "bugify" .origin }}</td>
</tr>
{{- end }}
{{< /bug.inline >}}
@@ -59,8 +59,8 @@ We publicly list these "most wanted" feature requests here, in the hopes of expe
<tr>
<td>{{ .browser }}</td>
<td>{{ .summary | markdownify }}</td>
- <td>{% include bugify.html content=feat.upstream_bug %}</td>
- <td>{% include bugify.html content=feat.origin %}</td>
+ <td>{{ partial "bugify" .upstream_bug }}</td>
+ <td>{{ partial "bugify" .origin }}</td>
</tr>
{{ end }}
{{< /feat.inline >}}
diff --git a/site/layouts/shortcodes/bugify.html b/site/layouts/partials/bugify.html
index b064d29a5e..7edacb5d61 100644
--- a/site/layouts/shortcodes/bugify.html
+++ b/site/layouts/partials/bugify.html
@@ -1,4 +1,4 @@
-{{- $words := (split .Inner " ") -}}
+{{- $words := (split . " ") -}}
{{- range $word := $words -}}
{{- if (strings.Contains $word "#") -}}