Found the solution:

                <h3 param="title" if="&all_parameters.title?"/>

It looked like if-content should work as shorthand for
if="&all_parameters.title?", but it didn't.  I also expected
"&parameters.title?" to work, but it didn't.

sd

On Oct 17, 4:13 pm, Steve DeBaun <[EMAIL PROTECTED]> wrote:
> <def tag="block">
>         <div class='block' merge-attrs>
>                 <h3 param="title"/>
>                 <h4 param="subtitle"/>
>                 <h5 param="sidenote"/>
>                 <p param="content"/>
>                 <p param="footer"/>
>         </div>
> </def>
>
> How do I make it so tags without parameters passed don't get shown?
> E.g. if I don't put a <subtitle:> tag, it still makes an empty <h4>
> element.
>
> I saw in the generated code stuff that put "if" at the end of the
> parameter, so I tried that... at which point it stopped showing the
> parameter everywhere.
>
> sd
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to