Move author cards into a template tag function
Improve whitespace in content code