Closed shuncon closed 3 years ago
render of "page" failed: execute of template failed: template: post/single.html:2:5: executing "main" at <partial "header.html" .>: error calling partial: "/www.shuncon.io/themes/hugo-nuo/layouts/partials/header.html:253:29": execute of template failed: template: partials/header.html:253:29: executing "partials/header.html" at <$wechat.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink render of "page" failed: execute of template failed: template: post/single.html:2:5: executing "main" at <partial "header.html" .>: error calling partial: "/www.shuncon.io/themes/hugo-nuo/layouts/partials/header.html:253:29": execute of template failed: template: partials/header.html:253:29: executing "partials/header.html" at <$wechat.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink render of "home" failed: execute of template failed: template: index.html:1:23: executing "main" at <partial "header.html" .>: error calling partial: "/www.shuncon.io/themes/hugo-nuo/layouts/partials/header.html:253:29": execute of template failed: template: partials/header.html:253:29: executing "partials/header.html" at <$wechat.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink render of "section" failed: execute of template failed: template: _default/list.html:9:5: executing "main" at <partial "header.html" .>: error calling partial: "/www.shuncon.io/themes/hugo-nuo/layouts/partials/header.html:253:29": execute of template failed: template: partials/header.html:253:29: executing "partials/header.html" at <$wechat.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink failed to render pages: render of "page" failed: execute of template failed: template: post/single.html:2:5: executing "main" at <partial "header.html" .>: error calling partial: "/www.shuncon.io/themes/hugo-nuo/layouts/partials/header.html:253:29": execute of template failed: template: partials/header.html:253:29: executing "partials/header.html" at <$wechat.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink hugo v0.88.1-5BC54738+extended linux/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio
archetypes config.toml config.tomlbak content data images layouts resources static themes up.sh
新建images目录存放png\jpg 及themes下的hugo-nuo的images存放png\jpg,依旧是同样的报错
render of "page" failed: execute of template failed: template: post/single.html:2:5: executing "main" at <partial "header.html" .>: error calling partial: "/www.shuncon.io/themes/hugo-nuo/layouts/partials/header.html:253:29": execute of template failed: template: partials/header.html:253:29: executing "partials/header.html" at <$wechat.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink render of "page" failed: execute of template failed: template: post/single.html:2:5: executing "main" at <partial "header.html" .>: error calling partial: "/www.shuncon.io/themes/hugo-nuo/layouts/partials/header.html:253:29": execute of template failed: template: partials/header.html:253:29: executing "partials/header.html" at <$wechat.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink render of "home" failed: execute of template failed: template: index.html:1:23: executing "main" at <partial "header.html" .>: error calling partial: "/www.shuncon.io/themes/hugo-nuo/layouts/partials/header.html:253:29": execute of template failed: template: partials/header.html:253:29: executing "partials/header.html" at <$wechat.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink render of "section" failed: execute of template failed: template: _default/list.html:9:5: executing "main" at <partial "header.html" .>: error calling partial: "/www.shuncon.io/themes/hugo-nuo/layouts/partials/header.html:253:29": execute of template failed: template: partials/header.html:253:29: executing "partials/header.html" at <$wechat.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink failed to render pages: render of "page" failed: execute of template failed: template: post/single.html:2:5: executing "main" at <partial "header.html" .>: error calling partial: "/www.shuncon.io/themes/hugo-nuo/layouts/partials/header.html:253:29": execute of template failed: template: partials/header.html:253:29: executing "partials/header.html" at <$wechat.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink hugo v0.88.1-5BC54738+extended linux/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio