Remove a space previous a tooltip text (#17194)

* Remove a space previous a tooltip text

* Improve format
pull/17456/head
bells17 2019-11-07 00:53:52 +09:00 committed by Kubernetes Prow Robot
parent fabfd3f886
commit 5306b4e784
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@
{{ $pages := $glossaryBundle.Resources.ByType "page" }}
{{- range site.Params.language_alternatives -}}
{{- with (where $glossaryBundle.Translations ".Lang" . ) -}}
{{ $p := (index . 0) }}{{ $pages = $pages | lang.Merge ($p.Resources.ByType "page") }}{{ end }}
{{- $p := (index . 0) -}}
{{- $pages = $pages | lang.Merge ($p.Resources.ByType "page") -}}
{{- end -}}
{{ end }}
{{- $.Scratch.Set "glossary_items" $pages -}}
{{- else -}}