add dates to blog index and posts, refactor posts using templates
add dates to blog index and posts, refactor posts using templates