CaiJimmy / hugo-theme-stack-starter

A quickstart template to create a Hugo blog using hugo-theme-stack
https://demo.stack.jimmycai.com
MIT License
356 stars 109 forks source link

The Param :.Site.Lastmod.IsZero error #44

Closed MySetsuna closed 6 months ago

MySetsuna commented 6 months ago

hi dear! The I want to update my blog,with my faverote theme Stack,but I got a crush: error calling partial: "\hugo_cache\modules\filecache\modules\pkg\mod\github.com!cai!jimmy\hugo-theme-stack\v3@v3.24.0\layouts\partials\head\opengraph\include.html:1:3": execute of template failed: template: partials/head/opengraph/include.html:1:3: executing "partials/head/opengraph/include.html" at <partial "head/opengraph/provider/base" .>: error calling partial: "\hugo_cache\modules\filecache\modules\pkg\mod\github.com!cai!jimmy\hugo-theme-stack\v3@v3.24.0\layouts\partials\head\opengraph\provider\base.html:35:25": execute of template failed: template: partials/head/opengraph/provider/base.html:35:25: executing "partials/head/opengraph/provider/base.html" at <.Site.Lastmod.IsZero>: can't evaluate field Lastmod in type page.Site image is something mistake on the param : .Site.Lastmod.IsZero?

CaiJimmy commented 6 months ago

Upgrade to the latest Hugo version (>= 0.123.0)

MySetsuna commented 6 months ago

谢谢!thank you!