 List = require('./list')
 CardCollection = require('../models/cards')
 CardModel = require('../models/card')
+config = require('../../shared/config.json')
 
 module.exports = React.createClass
   displayName: 'Content'

            title.push(k + ': ' + v)
        title = title.join(', ')
        title = 'search: ' + cards.query.title + ' (' + title + ')' if cards.query.title
        title += ' - carte'
        document.title = title
        <List key='list' cards={cards} showNav=true />
      when "show"

            cards.fetching = false
          error: (card, response)=>
            console.log response
        document.title = card.get('title') + ' - ' + config.title
        <List key='show' cards={cards} showNav=false />
      else
        console.log 'else'
