Thanks again. That seems to have done it.
I had also tried wrapping the .GitInfo
data in a {{with .GitInfo }}
following discussion in this thread but that also gave the same errors as wrapping it in {{with .GitInfo.Subject }}
I’m curious as to the significance of the {{-
in your example? I’ve seen and used {{
and {{%
in my Hugo templates and shortcodes, but never seen the {{-
version before. What does that do?
My site is under source control. My working method is LAPTOP —push—> GITHUB —pull—> SERVER and has been for many years now. So I don’t know how any of the pages couldn’t have version control info attached by now, given the amount of changes I’ve made over the years, since originally porting the site from Tumblr to Hugo, way back in 2014.
I agree, it does seem the obvious explanation though. I just can’t fathom how anything on the site can have ‘slipped through the gaps’ like that, after so many updates, rewrites and general tinkerings. T’is a mystery!