{{ .Summary }} empty

Hello,

I got a problem on the Kubernetes website which uses Hugo to generate content. My {{ .Summary }} variable is empty which is problematic because we use it for filling the description HTML meta tag. Do you see what is problematic in this code: https://github.com/kubernetes/website/issues/19188
https://github.com/kubernetes/website/blob/470f932dd8649592152b0388c653d114e81ee74d/layouts/partials/head.html#L20-L25

Best regards

Rémy

Hi there,

Having had a look at the content files, it seems having the {{% capture %}} shortcode is interfering with having a .Summary generated. Compare: content/docs/test.md vs docs/setup/_index.md.

I don’t really have a solution / suggestion though.