On Sep 23, 2009, at 10:53 AM, Andrew vonderLuft wrote:
As info, these are the tags Sean mentioned:

 tag 'if_blank' do |tag|
   ...
 end

 tag 'unless_blank' do |tag|
   ...
 end

I like this:

<r:if_blank part="my_part">
<r:unless_blank part="my_part">

The current semantics of if_content are nice because you can leave a part blank to intentionally get it not to render. If you only had if_blank, there is no way to get that behavior.

--
John Long
http://wiseheartdesign.com
http://recursivecreative.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