Open irLinja opened 3 months ago
Render fails when I assign any value to the logo key in data/navbar.toml. Even if it is the default "img/logo.svg".
data/navbar.toml
"img/logo.svg"
hugo: collected modules in 715 ms Start building sites … hugo v0.133.0-c9777473d1369f812d727a6c07dc57ad7be7bf62+extended linux/amd64 BuildDate=2024-08-17T19:57:41Z VendorInfo=gohugoio ERROR render of "taxonomy" failed: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugo-porto/theme@v0.1.7/layouts/_default/baseof.html:10:9": execute of template failed: template: _default/list.html:10:9: executing "_default/list.html" at <partial "navbar.html" .>: error calling partial: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugo-porto/theme@v0.1.7/layouts/partials/navbar.html:42:24": execute of template failed: template: partials/navbar.html:42:24: executing "partials/navbar.html" at <$logo.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink
I've tried to debug the issue. I could see that $logo is null, as indicated in the error, but I couldn't figure out why.
$logo
Render fails when I assign any value to the logo key in
data/navbar.toml
. Even if it is the default"img/logo.svg"
.