change post extension to html