render.js
function renderPage(page) {
    var template = pageTemplate(page);
    var html = renderTemplate(page, template);
    return '<div data-render-page="' + esc(template) + '">' + html + '</div>';
  }
function renderPage(page) {
    var template = pageTemplate(page);
    var html = renderTemplate(page, template);
    return '<div data-render-page="' + esc(template) + '">' + html + '</div>';
  }
function renderPage ( page ) { var template = pageTemplate ( page ) ; var html = renderTemplate ( page , template ) ; return '<div data-render-page="' + esc ( template ) + '">' + html + '</div>' ; }
render a page with a non-layout page-specific template this provides the primary mode of offline navigation on sites with a single layout this function always wraps in marker divs
render a page with a non - layout page - specific template this provides the primary mode of offline navigation on sites with a single layout this function always wraps in marker divs