We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
{{ $obj := slice (slice "a") }} {{ $obj = $obj | append (slice "b") }} {{ $obj = $obj | append (slice "c") }} <pre> {{ jsonify (dict "indent" " ") $obj }} </pre>
Actual:
[ [ "a" ], "b", <-- ??? [ "c" ] ]
Expected:
[ [ "a" ], [ "b" ], [ "c" ] ]
This isn’t new behavior (for example, reproduced with v0.76.0).
Not sure if this append issue is related: #10458.
append
Reference: https://discourse.gohugo.io/t/44501
The text was updated successfully, but these errors were encountered:
tpl/collections: Fix append when appending a slice to a slice of slices
deb3eaa
Fixes gohugoio#11004
4d22ba2
Fixed with cefe74d.
Sorry, something went wrong.
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.
bep
Successfully merging a pull request may close this issue.
Actual:
Expected:
This isn’t new behavior (for example, reproduced with v0.76.0).
Not sure if this
append
issue is related: #10458.Reference: https://discourse.gohugo.io/t/44501
The text was updated successfully, but these errors were encountered: