laozhu / hugo-nuo

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

Hugo Nuo demo not generated on the Hugo Themes website #103

Closed onedrawingperday closed 5 years ago

onedrawingperday commented 5 years ago

Hello @laozhu

I am one of the maintainers of Hugo Themes

Your theme's demo is currently not generated due to the following ERROR:

2:00:38 PM:  ==== PROCESSING  hugo-nuo  ======
2:00:38 PM: Building site for theme hugo-nuo using its own exampleSite to ../themeSite/static/theme/hugo-nuo/
2:00:38 PM: ERROR 2019/01/05 12:00:38 render of "page" failed: execute of template failed: template: _default/resume.html:15:5: executing "_default/resume.html" at <partial "head.html" ...>: error calling partial: "/opt/build/repo/hugo-nuo/layouts/partials/head.html:12:24": execute of template failed: template: partials/head.html:12:24: executing "partials/head.html" at <resources.Get>: error calling Get: stat /opt/build/repo/hugo-nuo/assets/images/avatar.jpg: no such file or directory
2:00:38 PM: ERROR 2019/01/05 12:00:38 render of "page" failed: execute of template failed: template: post/single.html:15:5: executing "post/single.html" at <partial "head.html" ...>: error calling partial: "/opt/build/repo/hugo-nuo/layouts/partials/head.html:12:24": execute of template failed: template: partials/head.html:12:24: executing "partials/head.html" at <resources.Get>: error calling Get: stat /opt/build/repo/hugo-nuo/assets/images/avatar.jpg: no such file or directory
2:00:38 PM: ERROR 2019/01/05 12:00:38 render of "page" failed: execute of template failed: template: post/single.html:15:5: executing "post/single.html" at <partial "head.html" ...>: error calling partial: "/opt/build/repo/hugo-nuo/layouts/partials/head.html:12:24": execute of template failed: template: partials/head.html:12:24: executing "partials/head.html" at <resources.Get>: error calling Get: stat /opt/build/repo/hugo-nuo/assets/images/avatar.jpg: no such file or directory
2:00:38 PM: ERROR 2019/01/05 12:00:38 render of "page" failed: execute of template failed: template: post/single.html:15:5: executing "post/single.html" at <partial "head.html" ...>: error calling partial: "/opt/build/repo/hugo-nuo/layouts/partials/head.html:12:24": execute of template failed: template: partials/head.html:12:24: executing "partials/head.html" at <resources.Get>: error calling Get: stat /opt/build/repo/hugo-nuo/assets/images/avatar.jpg: no such file or directory
2:00:39 PM: Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/links.html:15:5: executing "_default/links.html" at <partial "head.html" ...>: error calling partial: "/opt/build/repo/hugo-nuo/layouts/partials/head.html:12:24": execute of template failed: template: partials/head.html:12:24: executing "partials/head.html" at <resources.Get>: error calling Get: stat /opt/build/repo/hugo-nuo/assets/images/avatar.jpg: no such file or directory
2:00:39 PM: FAILED to create exampleSite for hugo-nuo

The demo fails because /assets/images/avatar.jpg does not exist.

Can you please look into this and let me know?

Thanks!

ref: gohugoio/hugoThemes#531

laozhu commented 5 years ago

Sorry, @onedrawingperday I forgot to change avatar URL in the exampleSite/config.toml file. I have fixed it now.