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 →

Conditional statements in V3

Jippe Heijnen August 25, 2020 by Jippe Heijnen

I am fiddling around with the conditional statements but I can't seem to get this to work:

<a href="{{ link to="/" }}" {{ if is_current || is_parent }} class="current"{{ /if }}>Home</a>

Am I doing something wrong?

>>>>>>> Unanswered <<<<<<<
1 Reply
1 Follower