add template system in the blog html generate. TODO: fulfilment the index template