Fix a bug that the personal-data description is not displayed in docs/home/. (#8712)
This commit is contained in:
parent
70fd7dca04
commit
b24f6327bf
|
|
@ -26,6 +26,10 @@
|
||||||
{{ $persona_info := $vv }}
|
{{ $persona_info := $vv }}
|
||||||
{{ if $persona_info.short_desc }}
|
{{ if $persona_info.short_desc }}
|
||||||
{{ $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 }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue