update templates for md files to page