code: function renderLayout(page) {
      var template = layoutTemplate(page);
      var html = renderTemplate(page, template);
      return '<div data-render-layout="' + esc(template) + '">' + html + '</div>';
    }
docs: render a layout using a layout template typically only happens if there is a doc template which includes {{{renderLayout}}} this enables offline navigation in multi-layout use cases this function always wraps in marker divs