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
The strings.Index func added to the func map in environ/funcs.go overwrites the text/template index func, making some operations impossible.
strings.Index
environ/funcs.go
text/template
index
The text was updated successfully, but these errors were encountered:
rename 'index' -> 'indexString'
69a084c
This is a bandaid for gnormal#73 while waiting for an official fix.
Hugo uses namespaces for functions. I think this is the right fix. Implementation looks like this:
https://play.golang.org/p/TIV-2BEO1o
Sorry, something went wrong.
natefinch
No branches or pull requests
The
strings.Index
func added to the func map inenviron/funcs.go
overwrites thetext/template
index
func, making some operations impossible.The text was updated successfully, but these errors were encountered: