added post and create for Post and Commit
added links in static-index.html.erb