Summary in a shortcode

I created a shortcode that shows a preview of the 3 most recent posts. The shortcodes uses Title, Date, Summary. I’m also using similar code in the List template for posts. Both of these work perfectly when I run locally.

I created a build task on check-in to rebuild the site and publish. The shortcode renders with empty summaries, but the list template shows them. Again, this only seems to happen on the build server. Both locally and on the server I’m running the same version of hugo (0.20.7).

I’m at a loss on even how to troubleshoot the problem.

You could start with posting the output of hugo server -v (which is what I assume you mean by “running locally”) and hugo -v from the server – the -v turns on a verbose mode, where Hugo spells out exactly what it’s rendering.