"use strict";

const waigo = global.waigo,
  _ = waigo._;


/**
 * Setup app-level template variables.
 *
 * This startup step should run after all others.
 *
 * @param {Object} App The application.
 */
module.exports = function*(App) {
  App.templateVars = {
    _: _,
    routeUrl: App.routes.url.bind(App.routes),
    staticUrl: App.staticUrl,
    config: App.config,
  };
};





@@ -271,16 +271,99 @@
     
+config: App.config,%0A  %7D;%0A  %0A  if (_.get(App.routes, 'url')) %7B%0A    App.templateVars.
 routeUrl
 : Ap
@@ -358,17 +358,18 @@
 routeUrl
-:
+ =
  App.rou
@@ -396,68 +396,90 @@
 tes)
-,%0A    staticUrl: App.staticUrl,%0A    config: App.config,
+;%0A  %7D%0A  %0A  if (App.staticUrl) %7B%0A    App.templateVars.taticUrl = App.staticUrl;
 %0A  %7D
-;
 %0A%7D;%0A

fix build