template to get link around document type files in singular view