-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stackoverflow when using .Render without argument #11243
Comments
Can you provide a reproducible example? I am unable to reproduce with v0.115.2. |
Updated hugo, now in latest version ❯ hugo version
hugo v0.115.2 linux/amd64 BuildDate=unknown Following commands reproduce this hugo new site hugo-crash-repro
cd hugo-crash-repro
echo "{{ .Render }}" > layouts/index.html
hugo |
OK, I can reproduce, but why would you do this?
|
No reason to do this. Found accidentally. However expect to fail gracefully with an error instead of crashing with stack overflow. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
yes
When a template has
{{ .Render }}
, hugo crashes with stack overflow.The text was updated successfully, but these errors were encountered: