Define global variable for templates