Mojo Variables let you set and call variables using Template tags. Set them in the layout and use them in your Regions (if you have that enabled) or combine with Pieces to show in sub-layouts.
Set a variable:
{mojo:variables:set name="foo" value="bar"}Get value of a variable:
{mojo:variables:get name="foo"}Couldn’t be any easier right?