laozhu / hugo-nuo

🎨 A responsive light & clean hugo theme for blogger.
https://laozhu.me
MIT License
427 stars 150 forks source link

不知名故障 #152

Open moxv opened 2 years ago

moxv commented 2 years ago

提示:render of "taxonomy" failed: "D:\Hugo\Site\seersu.me\themes\hugo-nuo\layouts\_default\baseof.html:15:5": execute of template failed at <partial "head.html" .>: error calling partial: "D:\Hugo\Site\seersu.me\themes\hugo-nuo\layouts\partials\head.html:84:45": execute of template failed at <.Hugo.Version>: can’t evaluate field Hugo in type page.Page render of "taxonomy" failed: can’t evaluate field Hugo in type page.Page failed to render pages: render of "home" failed: can’t evaluate field Hugo in type page.Page

操作系统:win11 浏览器:edge 环境:git+go

willxwu commented 1 year ago

@moxv 删除hugo-nuo/layouts/partials/head.html中下面部分即可: <!-- Site Generator --><meta name="generator" content="Hugo {{ .Hugo.Version }}">

注意是删除,不是注释。