I started receiving the following error as I recently updated Hugo to master
.
Started building sites ...
ERROR: 2016/09/28 09:06:26 template.go:132: template: writing/summary.html:5:156: executing "writing/summary.html" at <.PageMeta.ReadingTim...>: can't evaluate field ReadingTime in type hugolib.PageMeta in writing/summary.html
ERROR: 2016/09/28 09:06:26 template.go:132: template: writing/summary.html:5:156: executing "writing/summary.html" at <.PageMeta.ReadingTim...>: can't evaluate field ReadingTime in type hugolib.PageMeta in writing/summary.html
ERROR: 2016/09/28 09:06:26 general.go:212: Error while rendering page writing/artistic-style-transfer.md: template: writing/single.html:20:156: executing "writing/single.html" at <.PageMeta.ReadingTim...>: can't evaluate field ReadingTime in type hugolib.PageMeta
make: *** [all] Error 255
The offending layout files are here: https://github.com/hnarayanan/harishnarayanan.org/tree/master/layout/writing
And the offending piece of content is here: https://github.com/hnarayanan/harishnarayanan.org/blob/master/content/writing/artistic-style-transfer.md
Has anyone seen this before? Could there be something weird about my content that’s preventing Hugo from estimating a ReadingTime
? Furthermore, does anyone have an idea what changed recently to cause this different behaviour?
If no one has any ideas, I’ll break out git bisect
and have a go at investigating.