can't have more than one main template
uses new markdown rendering code