Conditional Statements
RapidWeaver Current Mode
Elements gives you access to the current RapidWeaver mode inside of conditional statements. This can be particularly useful for showing content in edit mode or in preview when a certain property evaluates to true.
Else If Statements
Elements allows you to specify a number of else if statements to run before falling back to the else block. An @elseif
statement works just like a regular @if
statement and follows the same syntax.
Last updated