config to html