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: {{ .browser | chomp }} {{ .summary | markdownify }} - {% include bugify.html content=bug.upstream_bug %} - {% include bugify.html content=bug.origin %} + {{ partial "bugify" .upstream_bug }} + {{ partial "bugify" .origin }} {{- end }} {{< /bug.inline >}} @@ -59,8 +59,8 @@ We publicly list these "most wanted" feature requests here, in the hopes of expe {{ .browser }} {{ .summary | markdownify }} - {% include bugify.html content=feat.upstream_bug %} - {% include bugify.html content=feat.origin %} + {{ partial "bugify" .upstream_bug }} + {{ partial "bugify" .origin }} {{ end }} {{< /feat.inline >}} diff --git a/site/layouts/shortcodes/bugify.html b/site/layouts/partials/bugify.html similarity index 98% rename from site/layouts/shortcodes/bugify.html rename to 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 "#") -}}