break out publication template
fix non-edit templates