You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy all .toml files from exampleSite to site root
Edit hugo.toml to have replacements = "github.com/Sped0n/bridget/v2 -> ../.." to [...] -> bridget (because it seems like hugo adds theme/ by default now
Go back to site root and execute hugo
Expected behaviour
Site builds correctly
Actual Behaviour
Building fails because of a menu variable called in HTML that is either empty or not defined somewhere
Logs
root@anubis:/var/www/photography# hugo -D
Start building sites …
hugo v0.128.2-de36c1a95d28595d8243fd8b891665b069ed0850+extended linux/arm64 BuildDate=2024-07-04T08:13:25Z VendorInfo=gohugoio
Total in 121 ms
Error: error building site: render: failed to render pages: render of "404" failed: "/var/www/photography/themes/bridget/layouts/404.html:3:8": execute of template failed: template: 404.html:3:8: executing "main" at <partial "nav.html" .>: error calling partial: "/var/www/photography/themes/bridget/layouts/partials/nav.html:12:16": execute of template failed: template: partials/nav.html:12:16: executing "partials/nav.html" at <len $menus>: error calling len: reflect: call of reflect.Value.Type on zero Value
Addition details
No response
Hugo version
hugo v0.128.2-de36c1a95d28595d8243fd8b891665b069ed0850+extended
Bridget version
latest
OS version
Ubuntu Server 24.04 LTS
Verify steps
Pull request is welcome. Check this if you want to start a pull request
I have searched on Issue Tracker, No duplicate or related open issue has been found
Ensure there is only one bug report in this issue. Please make mutiply issue for mutiply bugs
The text was updated successfully, but these errors were encountered:
Nevermind @Sped0n, I seem to be very stupid as I forgot to place the content structure.
That said, now it builds with the example site's content, it seems like the website it built is empty as no example image pops up when I move my mouse.
Step to reproduce
hugo v0.128.2-de36c1a95d28595d8243fd8b891665b069ed0850+extended linux/arm64 BuildDate=2024-07-04T08:13:25Z VendorInfo=gohugoio
hugo new site blablabla
replacements = "github.com/Sped0n/bridget/v2 -> ../.."
to[...] -> bridget
(because it seems like hugo adds theme/ by default nowhugo
Expected behaviour
Site builds correctly
Actual Behaviour
Building fails because of a menu variable called in HTML that is either empty or not defined somewhere
Logs
root@anubis:/var/www/photography# hugo -D
Start building sites …
hugo v0.128.2-de36c1a95d28595d8243fd8b891665b069ed0850+extended linux/arm64 BuildDate=2024-07-04T08:13:25Z VendorInfo=gohugoio
Total in 121 ms
Error: error building site: render: failed to render pages: render of "404" failed: "/var/www/photography/themes/bridget/layouts/404.html:3:8": execute of template failed: template: 404.html:3:8: executing "main" at <partial "nav.html" .>: error calling partial: "/var/www/photography/themes/bridget/layouts/partials/nav.html:12:16": execute of template failed: template: partials/nav.html:12:16: executing "partials/nav.html" at <len $menus>: error calling len: reflect: call of reflect.Value.Type on zero Value
Addition details
No response
Hugo version
hugo v0.128.2-de36c1a95d28595d8243fd8b891665b069ed0850+extended
Bridget version
latest
OS version
Ubuntu Server 24.04 LTS
Verify steps
The text was updated successfully, but these errors were encountered: