Added metadata to pdf and links to index and show actions