set up some basic templating variables