Conditional
Last updated
Was this helpful?
The conditional statement can be used to render a section based on a specific condition.
The placeholder conditional is a better alternative.
<? expression
?>
<body>
<!-- Body content -->
<? Random(0, 9) > 5
<p>The random number is greater than 5.</p>
?>
<!-- Body content -->
<? [DesignTemplate.ShowFooter]
<footer>...</footer>
?>
<!-- Body content -->
</body>Last updated
Was this helpful?
Was this helpful?