Hey guys,

I am trying to set up an if_url rule that creates an h1 headline of the page title if the page or the page's parent is /destinations/. What I have is this:

<r:if_url matches="^/destinations/.+">
 <h1><r:title /></h1>
</r:if_url>


The problem with this is that, while I get the page title on the /destinations/ page, it draws two h1 headlines on the child pages. How should I modify this to only create a single h1 headline on the child pages. I have unsuccessfully tried:

^/destinations/
/destinations/
/destinations


Can anyone shed some light here?



Thanks,

Nate
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to