Contextual Variables

Last modified: 7/22/2026

Overview

Contextual Variables are Platform Variables that are based on your current context within GeoHazardWatch.

Contextual Variables are Platform Variables that require user or page context Like:

Contextual Variables are provided from Plugins

Available context variables

VariableExpands toExample use
Contextual VariablesCurrent page's display __name__ (e.g. 2026 trip west)headings, prose, plugin params
contextual-variablesCurrent page's __slug__ — URL/keyword form (e.g. 2026-trip-west)keyword-matching plugin params
AnonymousSigned-in user's usernamegreetings, personal filters

Both the ${...} (dollar-brace) and [{$...}] forms are supported; the ${...} form is the one to use inside plugin parameters, since it is expanded before the plugin runs.

contextual-variables vs current: contextual-variables always gives the slug form. The current parameter shortcut (see Plugin Parameter Shortcuts) is smarter for keyword-scoped plugins — it tries the page name and slug and uses whichever has content. Prefer current for self-scoping media/search; reach for contextual-variables only when you specifically need the slug form.