made gallery index partial include data-document-id