Publish template