Boolean expressions in tags

Hello, I am trying to build a website with Radiant CMS and the basic
style of the site is a navigation bar at the top and content below, with
a sidebar depending on the content. What I am trying to do is decide if
I should put a sidebar or not using a boolean tag as follows
<r:unless_url matches="^/$"> but I want to put additional page checks in
there, such as <r:unless_url matches="^/$" OR matches="^/gallery/$"> .
Is this possible and if so, what is the proper syntax. I have looked
through the Radiant site and found nothing to help me.

  • pplshero54

What you want to do could be expressed with regular expressions:

<r:unless_url matches="^/(gallery/)?$">