<else>

General purpose else clause.

<else> works with various tags such as <if> and <repeat> (the else clause will be output if the collection was empty). It simply outputs its content if Dryml.last_if is false. This is pretty much a crazy hack which violates many good principles of language design, but it’s very useful : )

Show Source


Edit this page