content: import React from 'react'
  import PostList from 'components/blog/PostList'
  import PostNew from 'containers/blog/PostNew'
  
  export default class Home extends React.Component {
    render() {
      var firstPostID = -1;
      if(this.props.posts.list.length>0){
        firstPostID = this.props.posts.list[0].id;
      }
      return(
        <div>
          <div className="jumbotron">
            <h1>Welcome to the demo blog!</h1>
            <p className="lead">Look at some posts or add one.</p>
          </div>
          <div className="row">
            <div className="col-xs-6">
              <PostList status={this.props.posts.status} posts={this.props.posts.list} />
            </div>
            <div className="col-xs-6">
              <PostNew />
            </div>
          </div>
        </div>
      )
    }
  }
  