Let's allow "locals" to be a function which takes the site object and returns an object with locals as properties. That way you can move locals to a "locals.js" file