Try <r:if_url matches="^/contact?">

There's a / on the end of the url which is why your regex match isn't
matching the url

[image: Rachel]*Rachel Young*

www.rachelsoma.com
My profiles: [image: Facebook] <http://www.facebook.com/rachelsoma> [image:
LinkedIn] <http://au.linkedin.com/in/rachellyoung> [image:
Flickr]<htpp://www.flickr.com/photos/rachelyoung> [image:
Twitter] <http://www.twitter.com/rachelsoma>
Contact me: [image: Google Talk/] ms.rachel.soma


On Tue, Feb 22, 2011 at 11:22 AM, craayzie <flesh...@gmail.com> wrote:

> I'm trying to use if_url to conditionally include jquery on my /
> contact page but it doesn't seem to be working:
>
>    <r:if_url matches="^/contact">
>      <script type="text/javascript" src="http://ajax.googleapis.com/
> ajax/libs/jquery/1.5.0/jquery.min.js"></script>
>    </r:if_url>
>
> Any ideas what I might be doing wrong?

Reply via email to