add links to modules contained in each template
separate out template list item into partial