change template making title clickable if paper exists