DOCS

Is between mod

Is between mod checks the value of a dynamic tag if it is between two provided values, this can apply to numbers or dates.

Example

In the example below, we are checking if site date is between December 21 and 31, and outputting text Happy holidays

@site(date).is_between(December 21,December 31).then(Happy holidays)

Continue reading