hugo-theme-techdoc
hugo-theme-techdoc copied to clipboard
`hugo --minify --enableGitInfo` throws Error building site when rendering of 404.
hugo --minify --enableGitInfo
throws Error building site when rendering of 404.
Did any one try that ?
w1593950 ☸️ ~/k/i/ > hugo --minify --enableGitInfo
Total in 67 ms
Error: Error building site: render of "404" failed: execute of template failed: template: 404.html:22:4: executing "404.html" at <partial "sidebar.html" .>: error calling partial: execute of template failed: template: partials/sidebar.html:5:4: executing "partials/sidebar.html" at <partial "menu/slide-menu.html" .>: error calling partial: "/Users/w1593950/docs/themes/hugo-theme-techdoc/layouts/partials/menu/slide-menu.html:10:17": execute of template failed: template: partials/menu/slide-menu.html:10:17: executing "partials/menu/slide-menu.html" at <.Site.Home.Sections.ByWeight>: error calling Sections: runtime error: invalid memory address or nil pointer dereference
w1593950 ☸️ ~/k/i/is >