victoriadrake / hugo-theme-introduction

Minimal, single page, smooth-scrolling theme for Hugo static site generator.
https://hugo-introduction.netlify.com/
Apache License 2.0
671 stars 264 forks source link

page reference 'home' is ambiguous #349

Closed mattiasaxell closed 1 year ago

mattiasaxell commented 1 year ago

Hi, I love this theme but have run into trouble since Introduction theme v 6.0 installed as git submodule and build via Netlify. I can run the exampleSite in theme folder just fine but this below happens when I run with my own content. I've removed 1 language and only run 2 languages so far. It seems like it the theme can't find proper 'home'? I run standard menu (can't find where it is set, only how to customize in config.toml). Thankful for all the help. Please let me know if you need any more info to help me find out the reason for this error. :)

hugo -v

Start building sites … 
hugo v0.108.0-a0d64a46e36dd2f503bfd5ba1a5807b900df231d+extended linux/amd64 BuildDate=2022-MM-DDT13:37:00Z VendorInfo=snap:0.108.0
INFO 2022/MM/DD 13:37:00 syncing static files to /
ERROR 2022/MM/DD 13:37:00 render of "page" failed: "/website/themes/introduction/layouts/_default/baseof.html:25:19": execute of template failed: template: _default/single.html:25:19: executing "_default/single.html" at <partial "nav.html" .>: error calling partial: "/website/themes/introduction/layouts/partials/nav.html:44:25": execute of template failed: template: partials/nav.html:44:25: executing "partials/nav.html" at <.Site.GetPage>: error calling GetPage: page reference "/home" is ambiguous
ERROR 2022/MM/DD 13:37:00 render of "page" failed: "/website/themes/introduction/layouts/_default/baseof.html:25:19": execute of template failed: template: _default/single.html:25:19: executing "_default/single.html" at <partial "nav.html" .>: error calling partial: "/website/themes/introduction/layouts/partials/nav.html:44:25": execute of template failed: template: partials/nav.html:44:25: executing "partials/nav.html" at <.Site.GetPage>: error calling GetPage: page reference "/home" is ambiguous
ERROR 2022/MM/DD 13:37:00 render of "page" failed: "/website/themes/introduction/layouts/_default/baseof.html:7:11": execute of template failed: template: _default/single.html:7:11: executing "head" at <partial "head/openGraph.html" .>: error calling partial: "/website/themes/introduction/layouts/partials/head/openGraph.html:12:13": execute of template failed: template: partials/head/openGraph.html:12:13: executing "partials/head/openGraph.html" at <.Site.GetPage>: error calling GetPage: page reference "/home" is ambiguous
ERROR 2022/MM/DD 13:37:00 render of "page" failed: "/website/themes/introduction/layouts/_default/baseof.html:25:19": execute of template failed: template: _default/single.html:25:19: executing "_default/single.html" at <partial "nav.html" .>: error calling partial: "/website/themes/introduction/layouts/partials/nav.html:44:25": execute of template failed: template: partials/nav.html:44:25: executing "partials/nav.html" at <.Site.GetPage>: error calling GetPage: page reference "/home" is ambiguous
Error: Error building site: failed to render pages: render of "page" failed: "/website/themes/introduction/layouts/_default/baseof.html:7:11": execute of template failed: template: _default/single.html:7:11: executing "head" at <partial "head/openGraph.html" .>: error calling partial: "/website/themes/introduction/layouts/partials/head/openGraph.html:12:13": execute of template failed: template: partials/head/openGraph.html:12:13: executing "partials/head/openGraph.html" at <.Site.GetPage>: error calling GetPage: page reference "/home" is ambiguous
github-actions[bot] commented 1 year ago

It looks like this has been idle a while, so I am marking it as stale. Remove the label or comment if this issue should remain open.

mattiasaxell commented 1 year ago

@victoriadrake This issue got resolved for me so I'm closing this.