Never nest brackets. No:
{{ if not (in {{ .Scratch.Get "currentPage"}} $name) }}
wrong number of args for in: want 2 got 3
This tells you exactly what you did wrong. Don’t give up because of an error. Learn from it.
Never nest brackets. No:
{{ if not (in {{ .Scratch.Get "currentPage"}} $name) }}
wrong number of args for in: want 2 got 3
This tells you exactly what you did wrong. Don’t give up because of an error. Learn from it.