I’ve tried {{ if (eq $class "left") || (eq $class "right") }}, but I’m getting “unexpected | in if”. If I’m understanding the Go documentation, || should be the correct way to do this.
I haven’t looked up how to do C-style switch/case statements in Go, but if || doesn’t work, are they possible too?