Closed tfsumon closed 10 months ago
Run & review this pull request in StackBlitz Codeflow.
@tfsumon I did clone from your repo and tested on your chandu branch. Build itself is failing :
hugo server
Start building sites …
hugo v0.102.3-b76146b129d7caa52417f8e914fc5b9271bf56fc+extended windows/amd64 BuildDate=2022-09-01T10:16:19Z VendorInfo=gohugoio
Error: Error building site: failed to render pages: render of "home" failed: "C:\Users\devops11\Documents\GitHub\mindmap-dev\external-docs\themes\godocs-4\layouts\_default\index.links.json:6:39": execute of template failed: template: _default/index.links.json:6:39: executing
"_default/index.links.json" at <add>: wrong number of args for add: want 2 got 3
@tfsumon I did clone from your repo and tested on your chandu branch. Build itself is failing :
hugo server Start building sites … hugo v0.102.3-b76146b129d7caa52417f8e914fc5b9271bf56fc+extended windows/amd64 BuildDate=2022-09-01T10:16:19Z VendorInfo=gohugoio Error: Error building site: failed to render pages: render of "home" failed: "C:\Users\devops11\Documents\GitHub\mindmap-dev\external-docs\themes\godocs-4\layouts\_default\index.links.json:6:39": execute of template failed: template: _default/index.links.json:6:39: executing "_default/index.links.json" at <add>: wrong number of args for add: want 2 got 3
@tfsumon , have you checked this?
Sorry I forgot to check.
You are currently using Hugo version 0.102.3. In the latest Hugo version, the 'add' method now supports three arguments.
However, I've resolved this issue for you. I recommend upgrading your Hugo version to either 118 or 120 for the best experience.
Modified Website Live Url - https://zs-intelops-docs.netlify.app