Plugin now renders templates and content