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
Error I am receiving:
(my foldre path vscode)% hugo
Start building sites …
hugo v0.125.2-4e483f5d4abae136c4312d397a55e9e1d39148df+extended darwin/arm64 BuildDate=2024-04-20T15:29:44Z VendorInfo=brew
Total in 116 ms
Error: error building site: render: failed to render pages: render of "home" failed: "(my file path)/themes/ananke/layouts/index.html:48:23": execute of template failed: template: index.html:48:23: executing "main" at <.Site.GetPage>: can't evaluate field Site in type string
I believe there is an extra {{end}} at the end of the iindex.html file.
I am new to Hugo and may be incorrect here as this error only happens when importing an older post and not when creating a new post. But removing the last {{end}} I am no longer receiving this error.
The text was updated successfully, but these errors were encountered:
I am unsure if the fix was implemented into index.html, so I will not close at this time to let the maintainer close if it has. I see the pull request in #665, But not able to see the correct code in the master branch.
File: /themes/ananke/layouts/index.html
Error I am receiving:
(my foldre path vscode)% hugo
Start building sites …
hugo v0.125.2-4e483f5d4abae136c4312d397a55e9e1d39148df+extended darwin/arm64 BuildDate=2024-04-20T15:29:44Z VendorInfo=brew
Total in 116 ms
Error: error building site: render: failed to render pages: render of "home" failed: "(my file path)/themes/ananke/layouts/index.html:48:23": execute of template failed: template: index.html:48:23: executing "main" at <.Site.GetPage>: can't evaluate field Site in type string
I believe there is an extra {{end}} at the end of the iindex.html file.
I am new to Hugo and may be incorrect here as this error only happens when importing an older post and not when creating a new post. But removing the last {{end}} I am no longer receiving this error.
The text was updated successfully, but these errors were encountered: