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
Various elements such as the card support an optional argument to target a specific page. When the targeted page is identical to the current page, the Hugo build fails after a timeout.
To reproduce
Steps to reproduce the behavior:
Clone the Hinode site
Open the file exampleSite/content/en/blog/bootstrap-elements.md
Replace the card path on line 128 from about to bootstrap-elements
Start a local server with npm i && npm run start:example
Observe the Hugo build output (wait for the timeout, 3mins by default)
Expected behavior
Hinode should detect a recursion and exit with an informative error message.
Log file
ERROR render of "404" failed: "[...]/gethinode/hinode/layouts/_default/baseof.html:26:16": execute of template failed: template: 404.html:26:16: executing "404.html" at <partial "utilities/GetSections.html" (dict "page"."loading"$loading)>: error calling partial: partial "utilities/GetSections.html" timed out after 3m0s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting.
[...]
Screenshots
N/A
Host environment
Please complete the following information where applicable.
Describe the bug
Various elements such as the
card
support an optional argument to target a specific page. When the targeted page is identical to the current page, the Hugo build fails after a timeout.To reproduce
Steps to reproduce the behavior:
exampleSite/content/en/blog/bootstrap-elements.md
path
on line 128 fromabout
tobootstrap-elements
npm i && npm run start:example
Expected behavior
Hinode should detect a recursion and exit with an informative error message.
Log file
Screenshots
N/A
Host environment
Please complete the following information where applicable.
Hugo environment
The text was updated successfully, but these errors were encountered: