On Dec 5, 2007, at 9:52 AM, Sean Cribbs wrote:
> Here's a tag definition you can drop into your project's extension
> that might help.
>
> tag 'if_self' do |tag|
>  tag.expand if tag.locals.page == tag.globals.page
> end
>
> Since we have better support for detecting the globally rendering page
> now, we should probably add it to the core.

+1

--
John Long
http://wiseheartdesign.com
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to