Fix a bug that the personal-data description is not displayed in docs/home/. (#8712)

pull/8750/merge
Takuya Tokuda 2018-06-07 05:12:25 +09:00 committed by k8s-ci-robot
parent 70fd7dca04
commit b24f6327bf
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@
{{ $persona_info := $vv }}
{{ if $persona_info.short_desc }}
{{ $persona_info.short_desc }}
{{ else if $persona_info.glossary_id }}
{{ with $persona_info.glossary_id | printf "%s.md" | ($.Site.GetPage "page" "docs/reference/glossary").Resources.GetMatch }}
{{ .Params.short_description }}
{{ end }}
{{ end }}
</div>
{{ end }}