render a html file with a single instance replace