Conditional statements in V3

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