We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Simple if conditional for multiple segment_1

Ben Nelsen March 12, 2015 by Ben Nelsen

I know this is pretty basic but for the life of me I can not get this to work correctly.

  {{ if segment_1 == "kayaking" or "rafting" or "stand-up-paddleboarding" or "rivers" }}
     content specific here
  {{  endif }}

Thanks in advance.

Answered by Jason Varga!
>>>>>>> Answered <<<<<<<
2 Replies
3 Followers