code: function partial(data, viewname) {
    return data.replace(PARTIAL_PATTERN_RE, function (all, view) {
      view = view.match(/['"](.*)['"]/);    // get the view name
      if (!view || view[1] === viewname) {
        return "";
      } else {
        var name = view[1];
        if (settings.viewExt) {
          name += settings.viewExt;
        }
        var viewpath = path.join(settings.root, name);
        var tpl = '';
        try {
          tpl = fs.readFileSync(viewpath, 'utf8');
        } catch (e) {
          console.error("[%s][connect-render] Error: cannot load view partial %s\n%s", new Date(), viewpath, e.stack);
          return "";
        }
        return partial(tpl, view[1]);
      }
    });
  }
docs: add support for <%- partial('view') %> function
  rather than realtime compiling, this implemention simply statically 'include' the partial view file
  
  @param {String} data
  @param {String} [viewname] view name for partial loop check.
  @return {String}