gen static page and render markdown to html