bep / gallerydeluxe_starter

Starter project for https://github.com/bep/gallerydeluxe
MIT License
34 stars 13 forks source link

The starter gallery does not build... #7

Closed rsyncOSX closed 1 year ago

rsyncOSX commented 1 year ago

Start building sites … hugo v0.110.0+extended darwin/arm64 BuildDate=unknown Error: Error building site: failed to render pages: render of "home" failed: "/Users/thomas/Downloads/gallerydeluxe_starter-main/layouts/index.html:10:7": execute of template failed: template: index.html:10:7: executing "index.html" at <partial "gallerydeluxe/head.html" .>: error calling partial: partial "gallerydeluxe/head.html" not found

bep commented 1 year ago

So, it does build fine, one example can be seen here:

https://gallerydeluxe.netlify.app/

rsyncOSX commented 1 year ago

I am using Homebrew, all packages are updated to latest.. I found your gallery few days ago, tested it and the build worked OK. Tried another build today and the above issue occurred, no changes at all to code. Downloaded your starter project (as a zip file), tried to build but failed with same issue as above...

bep commented 1 year ago

Just tested a new clone here https://github.com/bep/deleteme1

Works good.

I could maybe speculate that your Hugo Modules cache somehow got corrupted.

What you can try (and what I also would recommend) is that you set the HUGO_CACHEDIR OS env variable to point to some directory outside of /tmp. And then try to run again. Other things to try would be hugo mod clean and hugo mod clean --all.

rsyncOSX commented 1 year ago

Hi and thx, hugo mod clean did the magic. Closing the issue. Thx for help and gallery..

rsyncOSX commented 1 year ago

I have just commenced adding pictures to gallery, more will come.. I also have another Hugo site with bird pics, I am converting all pics by PhotoLab - it will take some time but and the gallery is a start.. Have been looking for such a Hugo module for long time, great work with both Hugo and the gallery module..

https://gallerybythomas.netlify.app