In Florbs, you can conditionally hide parts of your email signature โ like a mobile phone line โ if the related attribute (e.g. mobilePhone
) is empty in a userโs Google directory profile.
How it works
Florbs uses mustache syntax, which supports conditional logic in your HTML template. To hide a line (like a phone icon and number), wrap it in an {{#attribute}}...{{/attribute}}
block. This makes the section show only if the attribute has a value.
Example
htmlCopyEdit{{#mobilePhone}} <tr> <td><img src="phone-icon.png" alt="Mobile" /></td> <td>{{mobilePhone}}</td> </tr> {{/mobilePhone}}
If mobilePhone
is empty, nothing is shown โ no icon, no text, and no empty row.
Example: