Fix glossary tooltip mismatch (#14227)

This commit is contained in:
Seokho
2019-05-09 05:18:36 +09:00
committed by Kubernetes Prow Robot
parent 78b93d7709
commit 017a224473
+1 -1
View File
@@ -5,7 +5,7 @@
{{- if not $glossary_items -}}
{{- errorf "[%s] No glossary items found" site.Language.Lang -}}
{{- else -}}
{{- $term_info := $glossary_items.GetMatch (printf "%s*" $id ) -}}
{{- $term_info := $glossary_items.GetMatch (printf "%s.md" $id ) -}}
{{- if not $term_info -}}
{{- errorf "[%s] %q: %q is not a valid glossary term_id, see ./docs/reference/glossary/* for a full list" site.Language.Lang .Page.Path $id -}}
{{- end }}