Jump to content
View in the app

A better way to browse. Learn more.

Learn more

if/elseif/else logic

The most basic logic check is a simple if/else. This allows you to put HTML if a condition matches, or something else if it doesn't.

The syntax is simply:

{{if [expression]}}
	HTML to output if expression is true
{{else}}
	HTML to output if expression was not true
{{endif}}

 

There's also an elseif tag which allows you to specify other conditions to check if earlier conditions didn't match.

{{if [expression]}}
	HTML to output if expression is true
{{elseif [expression]}}
	HTML to output if expression is true
{{else}}
	HTML to output if other expressions were not true
{{endif}}

 

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.