I have a main navigation set up like so:

<r:navigation urls="About:/about/| Blog:/blog/| Portfolio:/portfolio/">

I would like for the Blog link to be root relative, meaning that
whereever the user is on the site, they will always go to a child of the
root when they click a link.

So if a person is on www.site.com/misc/blah/blah and they click the blog
link they should be taken to www.site.com/blog.

However the way it is working now, they would be taken to
www.site.com/misc/blah/blog.

This is due to the fact that the link created by the navigation tag
looks like this:

<a href="blog"> ... instead of <a href="/blog/">.

So, how can I get the navigation tag to maintain my forward slashes, and
thus allow root relative linking?

Cheers!
Ben
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
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