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
looks like the internal functions cannot be used for apply
$s := slice "hello" "world" apply $s "strings.FirstUpper" "." -> [%!t(string=Hello) %!t(string=World)] apply $s "add" "." ", five" -> [%!t(string=hello, five) %!t(string=world, five)] not "hello" -> false len "hello" -> %!t(int=5)
apply (slice "hello) "not" "." apply (slice "hello) "len" "." Error: error building site: render: failed to render pages: render of "C:/_repos/github/clone/issue-2906-return-values/content/_index.md" failed: "C:\_repos\github\clone\issue-2906-return-values\layouts\_default\home.html:20:17": execute of template failed: template: _default/home.html:20:17: executing "main" at <apply (slice "hello") "not" ".">: error calling apply: called apply using string as type reflect.Value
Hugo 0.144.1 also fails in 128.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
looks like the internal functions cannot be used for apply
this works:
these fail
Hugo 0.144.1 also fails in 128.1
The text was updated successfully, but these errors were encountered: