Move commentsTemplate() into its own module