Warning: PyroCMS v2 is very old, these docs are provided free of charge, use at your own risk.
Global Plugin
The global plugin gives you access to most constants and global variables listed in Constants & Globals.
The global plugin's slug is global, so it can be used like so:
{{ global:constant }}
Constants
Constants are automatically converted to uppercase by the plugin so you may type the constant name just like you would the rest of the tag.
Example:
{{ global:addonpath }}
Outputs:
'addons/default/'
Global Variables
All global variables that are a string can be accessed with this plugin also.
Example:
{{ global:module }}
Outputs:
'blog'
