content: import * as Post from '../lib/post'
  import * as errorCtrl from '../controllers/error'
  import React from 'react'
  import Layout from '../components/layout.js'
  import Feed from '../components/feed.js'
  
  export function show (req, res, next) {
    Post.all()
      .then(posts => {
        res.send(
          React.renderToStaticMarkup(
            React.createElement(
              Layout, null, React.createElement(Feed, {posts: posts})
            )
          )
        )
      }).catch((err) => {
        errorCtrl.couchdb(err, req, res)
      })
  }
  