fixed argument name in PageRender::is_index().